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,325
    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"]) ); 
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

  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,325
    I would guess that "op" is short for "Operation"
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

  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 2 users browsing this thread. (0 members and 2 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