News Feed
Sections




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

Matthew Turland's Blog:
Interesting Bug in the HTTP Streams Wrapper
April 14, 2008 @ 08:49:04

Matthew Turland has come across an "interesting bug" in PHP's stream wrappers functionality - some strange 404 or 500 HTTP errors in one of his scripts.

I wrote a small script a while back that's gained a surprising amount of popularity thanks to a plug from the site that it posts to. [...] I learned that this [connection from the script] could be done with streams, I attempted to implement it in that fashion, but ran into strange issues where I would get 404 or 500-level HTTP errors rather than the response I was expected.

He eventually found the bug related to his problem (in the 5.2.x branch) but happily notes that it has been corrected and will be patched in the upcoming 5.3 (and 6) branches.

0 comments voice your opinion now!
bug streams wrapper issue 404 500 connection header contenttype


blog comments powered by Disqus

Similar Posts

Secubos.com: Cross-Site Scripting Vulnerability in phpFaber

Ivo Jansch\'s Blog: How a PHP notice revealed a quirk of Norton Internet Security

NETTUTS.com: 404/403 Website Error Pages With PHP Auto-Mailer

Web & PHP Magazine: August 2013 Issue - "Keeping it Lean"

Christopher Jones' Blog: Customer Interview on PHP & Oracle 11g Connection Pooling (DRCP) in Oracle


Community Events

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


security version laravel5 introduction unittest symfony interview extension voicesoftheelephpant opinion threedevsandamaybe framework podcast community language library release laravel series api

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