<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 19 May 2013 19:33:11 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Miro Svrtan: Debugging Uploadify jQuery plugin with XDebug]]></title>
      <guid>http://www.phpdeveloper.org/news/18423</guid>
      <link>http://www.phpdeveloper.org/news/18423</link>
      <description><![CDATA[<p>
<i>Miro Svrtan</i> has <a href="http://www.mirosvrtan.me/blog/2012/08/debugging-uploadify-jquery-plugin-with-xdebug/">a quick tip</a> for those using the Uploadify plugin in their application's file uploads - how to enable XDebug debugging on each upload request.
</p>
<blockquote>
If you ever decided to use <a href="http://www.uploadify.com/">Uploadify</a> 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. 
</blockquote>
<p>
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.
</p>]]></description>
      <pubDate>Thu, 30 Aug 2012 10:50:01 -0500</pubDate>
    </item>
  </channel>
</rss>
