News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

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 response php5 correct http status error response php5


blog comments powered by Disqus

Similar Posts

Gregory Szorc's Blog: PHP Now Using Proper HTTP Status Codes on Error

DevShed: Fetching Search Results as Serialized Arrays with Yahoo Web Services and PHP 5

Katy's Homepage: Automatic WSDL Generation in PHP 5

Dan Scott's Blog: File_MARC and Structure_Linked_List: new alpha releases

Pierre-Alain Joye's Blog: Howto use a single php.ini for cli/cgi with htscanner, use 0.7.0 or later


Community Events





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


bugfix wordpress laravel configure library release api code language project community framework introduction list application interview developer series podcast threedevsandamaybe

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