> That doesn't justify it. This is no different than writing screwed up HTML > tables that happen to appear as you want in the browser you're testing with.
GREAT point! Sorry, I didn't realize it was bad form. Just ignorant here -- I tried it with an absolule URL and it now works fine. Thanks for the help. Sam "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- Sam Folk-Williams <[EMAIL PROTECTED]> wrote: > > > The Location: header requires a correctly formed URL > > > > It works fine having Location: main.php > > That doesn't justify it. This is no different than writing screwed up HTML > tables that happen to appear as you want in the browser you're testing with. > You never know when your broken code is going to cause problems somewhere, and > you've no one to blame but yourself when they do. > > It's much better for everyone just to do things the right way. The Location > header should be an absolute URL. > > Chris > > ===== > Become a better Web developer with the HTTP Developer's Handbook > http://httphandbook.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php