I think my website hosts have done something to my login script as after they did some maintenance on my server i get a timed out error message. I just want to find out some possible reasons why that message is generated just to make sure it's not my script.
As far as i know the script was working perfectly well. There's no loops so there's no chance of an infinite loop.
After the script has timed out and i try to load another page i get error messages saying that my header and footer files couldn't be found.
Does this sound like a php or server error?
Thanks, Peter
Edit: It's complaining about this line:
Code: Select all
//check username
if(!file_exists("./{$dir_accounts}/".$_POST['username_post']."_user.php")){
$error = true;
}
//this line
if(file_exists("./{$dir_accounts}/".$_POST['username_post']."_user.php")){
include("./{$dir_accounts}/".$_POST['username_post']."_user.php");
if($password != md5($_POST['password_post'])){
$error = true;
}
}