Redirect image from web page
<p>I am going to build a interface to fetch the data from another web page by phpquery. but there is the captcha image and I can't fetch the captcha image. </p>

<p>I can't also print the output of phpquery</p>

<p>here is the code for redirect the image</p>

<pre><code> phpQuery::$debug = true;
  $result = phpQuery::newDocumentFile($url);
  echo $result;
  foreach(pq('.whoContentTable') as $tag) {
     foreach(pq($tag)-&gt;find('div.LBD_CaptchaImage') as $td) {
       print $td;
</code></pre>

<p>The output for the code:</p>

<pre><code>    Found: div.podContent, comparing with matchClasses()

    Found: div.LBD_CaptchaDiv, comparing with matchClasses()

    Found: div.LBD_CaptchaImage, comparing with matchClasses()

    Found: div.LBD_CaptchaIcons, comparing with matchClasses()

    Found: div#whoisverify_ctl00_cphcontent_ctlcaptcha_SoundPlaceholder.LBD_placeholder, comparing with matchClasses()

    Found: input#ctl00_cphContent_btnVerifyCode.btnVerifyCode.WhoisMainSprite[name="ctl00$cphContent$btnVerifyCode"], comparing with matchClasses()
</code></pre>

<p>How can I get the output content form the page?</p>
