06-19-2011, 02:46 AM
In free hosting server, if echo statement (you added for testing) is placed before
header("Location), redirect function will not work at all. That's what I noticed
when testing the login script. In the same case at my localhost server, at least
it displays an error message, but in free hosting server, it is automatically
redirected to 000webhost.com error page. Did you test after deleting all echo
statement you added for testing? Free hosting server supports header("Location)
function, otherwise how login-test.php file is executed at my site without error.
Last edited by grace1004; 06-19-2011 at 02:49 AM.