From: [EMAIL PROTECTED]
Operating system: Win98
PHP version: 4.0.6
PHP Bug Type: Scripting Engine problem
Bug description: Premature end of script headers
Running PHP 4.0.6 on Apache 1.3.20, on Win98SE... Browser returns the "500
- Internal Server Error" msg, and the error log reports "Premature end of
script headers: c:/php/php.exe"
It seems to be caused by an if() inside a while(), which is inside a
foreach(). The script will reach that point with no problems, but crashes
on the execution of the "if( $day > $startdate and $day < $enddate ){}"
PHP is only compiled with the default modules.
The other thing worth noting is that I get a "Php: This program has
performed an illegal operation and will be shut down" dialog box.
Thanks,
Matt Wilson <[EMAIL PROTECTED]>
--
Edit bug report at: http://bugs.php.net/?id=14073&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]