News Feed
Sections




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

Terry Chay's Blog:
Clever HTTP
February 15, 2007 @ 08:19:00

With the recent release of a new Firefox/PHP combination extension, several developers were interested in just how it all worked. One such developer is Terry Chay who has posted about it to his blog today after looking into how it all fits together.

The standard way of debugging in PHP involves just echoing shit to the screen. The fact that PHP is a scripting language makes this an excellent way of debugging on the web. But what happens when doing this breaks your site?

That's where FirePHP comes in - it sends along a special request from your PHP script (as fired off by special code you insert) to include debugging information inside a different part of a "multipart/mixed" message. Terry also includes some of his sample code (including a custom version of the software) that he used to get things working. Check out the screenshot for the results.

0 comments voice your opinion now!
http firephp firefox extension example screenshot multipart message http firephp firefox extension example screenshot multipart message


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: Working with Zip Archives in PHP

Ligaya Turmelle's Blog: SQL Server DNS

Wez Furlong's Blog: HTTP POST from PHP, without cURL

Pierre-Alain Joye's Blog: how to do not work around filter (don't be lazy :)

Zend Developer Zone: The ZendCon Sessions Episode 22: PHP Extension Writing


Community Events





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


community list testing threedevsandamaybe introduction opinion podcast experience language symfony2 release framework api developer install code series unittest laravel interview

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