News Feed
Sections




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

Miro Svrtan:
Debugging Uploadify jQuery plugin with XDebug
August 30, 2012 @ 10:50:01

Miro Svrtan has a quick tip for those using the Uploadify plugin in their application's file uploads - how to enable XDebug debugging on each upload request.

If you ever decided to use Uploadify jQuery plug-in you might have noticed problems with debugging remote PHP code that this plugin relies on. [...] Unfortunately setting this up will not work with Uploadify Flash version since calls to remote server side is not done inside browser but inside flash plugin. [...] Few months ago I found my self blindly debugging it again and remembered that I read somewhere that xdebug parameters can be sent via GET/POST too.

He takes advantage of this fact and appends the "XDEBUG_SESSION_START" and "XDEBUG_SESSION" values in the "scriptData" handler for the Uploadify call. The XDebug session is then started when the script executes and your IDE will receive the results.

0 comments voice your opinion now!
debug uploadify jquery plugin xdebug scriptdata tutorial


blog comments powered by Disqus

Similar Posts

EasyPHPWebsites.com: Creating a Website Visitor Map (Ajax, jQuery, Google Maps API)

DevShed: Manipulating String Literals with Interpreter Classes in PHP 5

Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHP_CodeSniffer

php[architect]: Sending HTML Emails with Drupal 7, Webform, and Mandrill

Zend Developer Zone: Using the Stack Exchange API with PHP (part 1)


Community Events





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


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

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