fopen() and header function

Code:
$detail = $authenticate -> loginAuthen ($username, $password);
above is wrong
this is the right way
Code:
$detail = $authenticate->loginAuthen ($username, $password);

you can;t pass value 'failed.php' in the Location header
it has to be a url, either a absolute or relative
 
Actually you can... tat works fine for me... about the correct and right way of handling classes you are right, ive missed it...

however with header you may even write header("Location: ./"$failure);
 
Back
Top