login.php problem !!

Page 1 of 2 12 LastLast
Results 1 to 25 of 27
  1. #1
    Member bruna157 is offline
    MemberRank
    Dec 2011 Join Date
    87Posts

    sad login.php problem !!

    see it and try help i have problem with the login.php

    untitled.png


  2. #2
    Account Upgraded | Title Enabled! Lugapha is offline
    MemberRank
    Jul 2011 Join Date
    387Posts

    Re: login.php problem !!

    that don't help anyone help you. no info

  3. #3
    ExtrinsicStudioâ„¢ Myth is offline
    MemberRank
    Jan 2012 Join Date
    367Posts

    Re: login.php problem !!

    I've found two other problems for you:





    Quote Originally Posted by Lugapha View Post
    that don't help anyone help you. no info
    This.

  4. #4
    Account Upgraded | Title Enabled! Crystalz is offline
    MemberRank
    Aug 2012 Join Date
    212Posts

    Re: login.php problem !!

    Quote Originally Posted by myth View Post
    i've found two other problems for you:



    Oh my god. xD

  5. #5
    Member bruna157 is offline
    MemberRank
    Dec 2011 Join Date
    87Posts

    Re: login.php problem !!

    shit write good trhings

  6. #6
    Account Upgraded | Title Enabled! Crystalz is offline
    MemberRank
    Aug 2012 Join Date
    212Posts

    Re: login.php problem !!

    It's impossible for anyone to help you when you don't give enough information. You could start with posting line 16 of the .php.

  7. #7
    Member bruna157 is offline
    MemberRank
    Dec 2011 Join Date
    87Posts

    Re: login.php problem !!

    please help me i need help ,,

  8. #8
    Member bruna157 is offline
    MemberRank
    Dec 2011 Join Date
    87Posts

    Re: login.php problem !!

    erro in this line
    Parse error: syntax error, unexpected ';' in C:\wamp\www\Login.php on line 16
    untitled.png

    this my information about the line

  9. #9
    Account Upgraded | Title Enabled! aqua512 is offline
    MemberRank
    Nov 2012 Join Date
    574Posts

    Re: login.php problem !!

    Quote Originally Posted by bruna157 View Post
    please help me i need help ,,
    Highlight the entire folder and click delete. Then migrate your hand to your power button, push and hold it for 5 seconds. and leave it in that state. Problem solved

  10. #10
    Member bruna157 is offline
    MemberRank
    Dec 2011 Join Date
    87Posts

    Re: login.php problem !!

    i need help kkkkkkkkkkkkkkkkkkk

  11. #11
    Gruntilda Gruntilda is offline
    MemberRank
    Apr 2010 Join Date
    468Posts

    Re: login.php problem !!

    Why are you people trying to use this page? I don't get it.

  12. #12
    Account Upgraded | Title Enabled! aqua512 is offline
    MemberRank
    Nov 2012 Join Date
    574Posts

    Re: login.php problem !!

    Quote Originally Posted by iStu View Post
    Why are you people trying to use this page? I don't get it.
    here is the answer stu.............untitled.png

  13. #13
    -.- NextIdea is offline
    MemberRank
    Nov 2012 Join Date
    343Posts

    Re: login.php problem !!

    Quote Originally Posted by bruna157 View Post
    erro in this line
    Parse error: syntax error, unexpected ';' in C:\wamp\www\Login.php on line 16
    untitled.png

    this my information about the line
    Your missing ")" before ";".

  14. #14
    Gruntilda Gruntilda is offline
    MemberRank
    Apr 2010 Join Date
    468Posts

    Re: login.php problem !!

    Why do you have a dll open in notepad?

  15. #15
    Member bruna157 is offline
    MemberRank
    Dec 2011 Join Date
    87Posts

    Re: login.php problem !!

    what dll are you saying ?

  16. #16
    Gruntilda Gruntilda is offline
    MemberRank
    Apr 2010 Join Date
    468Posts

    Re: login.php problem !!

    ...

    Just change line 16 to:

    Code:
    if($exec)

  17. #17
    Member bruna157 is offline
    MemberRank
    Dec 2011 Join Date
    87Posts

    Re: login.php problem !!

    lol erro again see
    Parse error: syntax error, unexpected '.' in C:\wamp\www\Login.php on line 43

    Quote Originally Posted by bruna157 View Post
    lol erro again see
    Parse error: syntax error, unexpected '.' in C:\wamp\www\Login.php on line 43
    or add this

    if($exec) = mssql_query("SELECT sUserPW FROM tUser where sUserID = '$user'");

  18. #18
    Gruntilda Gruntilda is offline
    MemberRank
    Apr 2010 Join Date
    468Posts

    Re: login.php problem !!

    I have no idea why you're trying to use this for anything, but here:

    Code:
    <?php
    
    $conf['db_host'] = ".\SQLEXPRESS";
    $conf['db_user'] = "";
    $conf['db_pass'] = "";
    $conf['db_name'] = "Account";
    
    $user = sql_clean($_GET['Username']);
    $passhash = sql_clean($_GET['Password']);
    
    $con = mssql_connect($conf['db_host'],$conf['db_user'],$conf['db_pass']) or die('Database connect Fail.');
    $db = mssql_select_db($conf['db_name'], $con) or die('Database Init Fail.');
    
    $exec = mssql_query("SELECT sUserPW FROM tUser where sUserID = '$user'");
    
    if($exec)
    {
        if(mssql_num_rows($exec) != 1)
    	{
    		die('Account Not Found.');
    	}
    	$AccountData = mssql_fetch_assoc($exec);
    	$PlaintxtPass = $AccountData['sUserPW'];
    	if (MD5($PlaintxtPass) == $passhash)
    	{
    		die('OK');
    	} 
    	else
    	{
    		die('Wrong Password.');
    	}
    } 
    else
    {
    	die('Query Failed');
    }
    
    mssql_close();
    
    function sql_clean($str)
    {
    	$search=array("\\","\0","\n","\r","\x1a","'",'"');
    	$replace=array("","","","","","","");
    	return str_replace($search,$replace,$str);
    }
    ?>

  19. #19
    Member bruna157 is offline
    MemberRank
    Dec 2011 Join Date
    87Posts

    Re: login.php problem !!

    i will try to use this code

    err again aff
    Notice: Undefined index: Username in C:\wamp\www\Login.php on line 8

    Notice: Undefined index: Password in C:\wamp\www\Login.php on line 9

    Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: WIN-2VZMU0ST2PK\SQLEXPRESS in C:\wamp\www\Login.php on line 11
    Database connect Fail.

    err again aff
    Notice: Undefined index: Username in C:\wamp\www\Login.php on line 8

    Notice: Undefined index: Password in C:\wamp\www\Login.php on line 9

    Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: **************\SQLEXPRESS in C:\wamp\www\Login.php on line 11
    Database connect Fail.

  20. #20
    Gruntilda Gruntilda is offline
    MemberRank
    Apr 2010 Join Date
    468Posts

    Re: login.php problem !!

    Just give up.

  21. #21
    Member bruna157 is offline
    MemberRank
    Dec 2011 Join Date
    87Posts

    Re: login.php problem !!

    ok ok always erro

  22. #22
    Account Upgraded | Title Enabled! Charisma Doll is offline
    MemberRank
    Oct 2012 Join Date
    Wonderland.Location
    256Posts

    Re: login.php problem !!

    delete post pls. :3

  23. #23
    Account Upgraded | Title Enabled! Crystalz is offline
    MemberRank
    Aug 2012 Join Date
    212Posts

    Re: login.php problem !!

    Quote Originally Posted by Versaaa View Post
    delete post pls. :3
    Aww, I was hoping for you to say something fun. :c

  24. #24
    Account Upgraded | Title Enabled! aqua512 is offline
    MemberRank
    Nov 2012 Join Date
    574Posts

    Re: login.php problem !!

    I have an idea Bruna157, suck it up and purchase a launcher from iStu. It's so much easier than what your doing. 0.o

  25. #25
    Electro, dude. Bakey is offline
    MemberRank
    Oct 2010 Join Date
    403Posts

    Re: login.php problem !!

    Yes pls. Money money money.



Page 1 of 2 12 LastLast

Advertisement