PHP Login - Step 3

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
33,723
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 21, 2008

null

Category:

People & Blogs

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:

Top Comments

  • I'm getting a blank checklogin page and it's not redirecting.

  • I get this: Parse error: syntax error, unexpected T_STRING

    and this what i have in there line 20

    session_register("myusername")­;

see all

All Comments (48)

Sign In or Sign Up now to post a comment!
  • @semas11122 did u get a response to the mysql_num_rows(); statement?

  • How do i fix this issue?

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource

  • @deadwing5 i had the same problem , after viewing like 100 php forums i finally have the script working. Change <? in the beggining of checklogin.php; login_success.php and logout.php to <?php . and change $username = ""; in checklogin.php to $username = "root" and you will have the script working INSALLAH.

  • @deadwing5 i had the same problem , after viewing like 100 php forums i finally have the script working. Change <? in the beggining of checklogin.php; login_success.php and logout.php to <?php . and change $username = ""; in checklogin.php to $username = "root" and you will have the script working INSALLAH.

  • <?php $host="localhost"; $username="root"; $password=""; $db_name="PHPLOGIN"; $tbl_name="members"; // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); // username and password sent from form $myusername=$_POST['myusername­']; $mypassword=$_POST['mypassword­'];
  • Updated code for PHP5

    phpeasystep . com / phptu / 6

    remove spaces, add html after the 6

    look at the bottom of the page

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more