Matthew Turland's Blog: Interesting Bug in the HTTP Streams Wrap...

Courtesy PHPDeveloper.org  Mon, 04/14/2008 - 08:49

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...

Sponsors


 

Related items

Convert diff output to colorized HTML
If you search the web you can find a number of references to programs/scripts that convert diff output to HTML. This is a bash version. read more ...

Debuggable Blog: Passing controller variables to your JavaScript
Felix Geisendorfer shares another helpful tip for CakePHP users out there - this time dealing with controller variables and Javascript. If your...

Floating Point Math in Bash, Part 2 (Wait for System Load)
Linux Journal: "If you run scripts that require a lot of execution time it's a good idea to try to avoid letting them overload your system. You can...

Converting troff to HTML
Ok, more specifically, troff using the mm macros to HTML. This is another from my "rusty scripts" collection which was written for a specific task...

Floating Point Math in Bash, Part 2 (Wait for System Load)
If you run scripts that require a lot of execution time it's a good idea to try to avoid letting them overload your system. You can run them via...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com