if (!$logged) {
if (!$username || !$password)
tmplshow("login", array('<%TMPL SITE TMPL%>' => SITE_NAME));
else {
}
}
this is a login script, it has been stripped down (there is validation and stuff that goes in there) but I took it out to find out what the problem is, and I have no idea.
When I run that, the first time it shows the Login Template, as it should (this has $username and $password variables u fill in)
when u submit it (it reloads the same page) it gives a server misconfiguration error, and in the error log it says "/php/php.exe Premature end of script headers". I have never had this eror before, and I dont have any idea why it happens, is it my code or a server variable? this happens on both my local config and my Web Hosts Config.