News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
Gregory Szorc's Blog:
PHP Now Using Proper HTTP Status Codes on Error
August 23, 2007 @ 11:03:00

Gregory Szorc writes today about a fact that's only recently come true in PHP's handling of errors - it seems that it now returns proper HTTP status codes when a problem comes up.

If it encounters a serious error, like a parse error, it just stops and there is nothing you can do about it. If this happens on a hosted web site, you get a blank page served with the HTTP status code of 200. Completely useless to remote connections.

This fix will be included in the next version of PHP - the upcoming 5.2.4 release.

0 comments voice your opinion now!
correct http status error code response php5 correct http status error code response php5



Similar Posts

Tobin Bradley\'s Blog: A Mapping Site in 19 Lines of Code

Alison Holloway's Blog: PHP 5.2.2 Setup on Windows

Ilia Alshanetsky's Blog: Taking suggestions for the filter extension

php|architect: Using PHP5's SOAP Support

DevShed: Developing a Captcha Application with an Image Generator Class with PHP 5


Community Events







Don't see your event here?
Let us know!


code release developer book zendframework zend database package example application releases PHP5 conference mysql cakephp PEAR security framework job ajax

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework