batwimp Posted April 15, 2012 Share Posted April 15, 2012 And this is index.php right? the form is posting to itself? Link to comment https://forums.phpfreaks.com/topic/260771-php-login-form-verifying-username-with-odbc-connect-to-access/page/2/#findComment-1337445 Share on other sites More sharing options...
timmykins02 Posted April 15, 2012 Author Share Posted April 15, 2012 Yes, but if the username and password match, then I want it to go to searchpage.php Link to comment https://forums.phpfreaks.com/topic/260771-php-login-form-verifying-username-with-odbc-connect-to-access/page/2/#findComment-1337494 Share on other sites More sharing options...
timmykins02 Posted April 16, 2012 Author Share Posted April 16, 2012 Oh and the array I get from the R_REQUEST is Array ( [message] => Login Failed ) Login Failed Link to comment https://forums.phpfreaks.com/topic/260771-php-login-form-verifying-username-with-odbc-connect-to-access/page/2/#findComment-1337765 Share on other sites More sharing options...
Muddy_Funster Posted April 16, 2012 Share Posted April 16, 2012 cahnge this line: //echo "<form action='index.php' method='post'> \n" ; <<----change From this echo "<form action='' method='post'> \n" ; //<<----to this Link to comment https://forums.phpfreaks.com/topic/260771-php-login-form-verifying-username-with-odbc-connect-to-access/page/2/#findComment-1337768 Share on other sites More sharing options...
timmykins02 Posted April 17, 2012 Author Share Posted April 17, 2012 I chang Link to comment https://forums.phpfreaks.com/topic/260771-php-login-form-verifying-username-with-odbc-connect-to-access/page/2/#findComment-1338013 Share on other sites More sharing options...
timmykins02 Posted April 17, 2012 Author Share Posted April 17, 2012 I changed it but I still have the same problem Link to comment https://forums.phpfreaks.com/topic/260771-php-login-form-verifying-username-with-odbc-connect-to-access/page/2/#findComment-1338015 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.