View Single Post
  #5  
Old 9th November 2009, 12:10
giftsnake giftsnake is offline
Senior Member
 
Join Date: Jan 2009
Posts: 108
Thanks: 15
Thanked 9 Times in 8 Posts
Default

Quote:
//* Login Form was send
if(count($_POST) > 0) {

//** Check variables
if(!preg_match("/^[\w\.\-\_]{1,64}$/", $_POST['username'])) $error = $app->lng('user_regex_error');
if(!preg_match("/^.{1,64}$/i", $_POST['passwort'])) $error = $app->lng('pw_error_length');

//** iporting variables
$ip = $app->db->quote(ip2long($_SERVER['REMOTE_ADDR']));
$username = $app->db->quote($_POST['username']);
$passwort = $app->db->quote($_POST['passwort']);
-> changed the variables in the submit-form to 'username' and 'passwort'
what happens:
the login button calls the index.php page with:
Code:
https://domain.com:8080/index.php?username=myusername&passwort=mysecretpassword
i still get no login. any ideas?
Reply With Quote