Solved. I feel like an idiot.
Here is what I was going wrong.
//redirect to protected page
header("Location: /worked.php <- should be .htm");
exit();
Thanks,
Dean
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
AIL PROTECTED]]
Sent: Wednesday, May 01, 2002 11:08 AM
To: [EMAIL PROTECTED]; PHP Win32 (E-mail)
Subject:Re: [PHP-WIN] Premature end of script headers: c:/php/php.exe
1. Is there any whitespace before the first I am having troubles with the following script. When executed I get the
5
1. Is there any whitespace before the first I am having troubles with the following script. When executed I get the 500
>internal server error page and an error: Premature end of script headers:
>c:/php/php.exe in the log files. If I comment out the header() line it
>works fine. I would like to