Hi all,
I had to reinstall windows 2000 on my machine for some
funny reasons and hence am now setting up my webserver
and other things. I installed Apache 1.3.27 and that
works fine. I then downloaded PHP4 and was trying to
configure it to the Apache web server. I followed all
instructions in the
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
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 redirect to the proper page based on login
pas