Warning: Cannot modify header information – headers already sent by (output started at e:websiteslocalhostdo.php:2) in e:websiteslocalhostdo.php on line 2
@AdamGundryApr 18.2005 — #The first thing to check is if you have anything in your file before the start of the PHP code, even spaces. If so, move it. Otherwise, you are sending output prior to calling header(), and you will probably need to show us the code to get additional help.
@AdamGundryApr 18.2005 — #Hmm...it could be a problem with your server setup, for example if you have auto_prepend_file set in one of the PHP or Apache config files, but it'd be quite unusual. Where is the $location variable coming from?
well with previous scripts I wrote, I had an error check added in and it doesn't seem to work with header() gives me the same error message, which lead me to think its a server setting somewhere..
@imnoguruauthorApr 18.2005 — #Im not quiet sure what your refering to?? The redirect php code is in its own file, all by its lonesome. Which means there is NOTHING before it and NOTHING after it, which also means there is no <head></head> tags anywhere in the *.php file? Is that what you mean??