Jump to content

curbsy

Members
  • Posts

    10
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://www.rl6.org/~curbsy
  • ICQ
    0

curbsy's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. curbsy

    Login Check.

    ...and help with this? I really want this to work.
  2. curbsy

    Login Check.

    does it really have to be that? why can't I have 'http://www.rl6.org/~curbsy/include/session.php'?As I said before, it will always return as the error. Even if I'm logged in it says I'm not.
  3. curbsy

    Login Check.

    <?phpinclude("http://www.rl6.org/~curbsy/include/session.php");if($session->logged_in){?>*content*<?php} else {?>*error message*<?php}?>I'm using this to decided whether or not a user is logged in and to display the proper results. It always returns as the error message though. Does anybody know why...?
  4. It didn't work. Anybody else have ideas?
  5. index.php action.php Can anybody tell me why this doesn't update properly?
  6. curbsy

    Sessions...

    Ok, I'm having some troubles with sessions. I don't really understand how they work at all. Can somebody help me on this?
  7. curbsy

    Comments!

    Yes, the topic of the day is: Comments! I'm trying (but failing miserably) to set up a comment system on my website. Does anybody have experience with this?
  8. I didn't know there was anything other than *.php...
  9. curbsy

    PHP/MySQL Error

    I did happen to get this fixed:<?php//Importinclude ("dbhndl.php");//Re-assign$name=$_POST['uname'];$pass=$_POST['pword'];$db="curbsy";$link = mysql_connect("localhost", "curbsy", "emerson");if (! $link)die("Couldn't connect to MySQL");mysql_select_db($db , $link)or die("Couldn't open $db: ".mysql_error());mysql_query ("INSERT INTO users (u_id, u_name, u_pswd, u_ses_id) VALUES (NULL, '$name', '$pass', NULL)");mysql_close($link);?>
  10. curbsy

    PHP/MySQL Error

    regproc.php: (01) <?php(02) //Import(03) include ("dbhndl.php");(04)(05) //Make user(06) mysql_query(INSERT INTO "users" (07) ("u_id", (08) "u_name", (09) "u_pswd", (10) "u_ses_id") (11) VALUES ("null", (12) "$_POST['uname']", (13) "$_POST['pword']", (14) "null"));(15)(16) echo "<meta http-equiv='refresh' content=1;URL=index.php>";(17) ?> Error: Parse error: parse error, unexpected T_STRING in /home/users/curbsy/public_html/login/regproc.php on line 6
×
×
  • Create New...