|
Posted by walterbyrd on 12/17/92 11:53
I like to develop on my desktop, then when I get stuff working, I copy
to my web-site.
I set up a new version Xampp on my windows-2k desktop. And downloaded
the stuff from the website to edit. On the website, everything worked,
on my desktop, nothing works.
I am guessing this has to do with PHP versions. I know PHP breaks
everything whenever they come out with a new version.
On the website, I am using PHP 4.4.2. On my desktop, I'm using 5.1.4.
This is the routine that crashes everything.
#if either form field is empty return to the log-in page
if ( (!$username) or (!$password) )
{
header("Location:$HTTP_REFERER");
exit();
}
Again, it all works with PHP 4..4.2, crashes with PHP 5.1.4. Also if I
try to do anything else with $HTTP_REFERER, the system crashes.
By "crashes" I mean I either get a blank page, or an error message that
the headers are already loaded.
[Back to original message]
|