dcsimg
www.webdeveloper.com
Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20

Thread: Login & Registration form with profile

  1. #16
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,589
    What is the PASSWORD supposed to do in your version as I assumed what I put would work, what about changing where PASSWORD is put

    PHP Code:
    $q sprintf("SELECT * FROM `dbUsers` "WHERE `username`='%s' AND 
    `
    password`=PASSWORD('%s')) LIMIT 1;--",mysql_real_escape_string($_POST["username"]),
    mysql_real_escape_string(
    $_POST["password"]) ); 
    If your post falls off the page, bump it. ...
    Please remember to wrap any code you have in forum tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

  2. #17
    Join Date
    Jul 2013
    Posts
    2
    Sir. What is the "op" in your register.php this one elseif ( $_GET["op"] == "thanks" )?

  3. #18
    Join Date
    Jul 2013
    Posts
    2
    Can i ask? what is the "op" in the registration? Thanks....

  4. #19
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,589
    I would guess that "op" is short for "Operation"
    If your post falls off the page, bump it. ...
    Please remember to wrap any code you have in forum tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

  5. #20
    Join Date
    Nov 2013
    Posts
    1
    Sir it does not working .when it fetch user name and password from db it does not supporting to connect with login

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles