title: There are any open-soure PHP Web Proxy ready to use?
body: <p>I need a PHP Web Proxy that read html, show to the user and rewrite all the links for when the user click in the next link the proxy will handle the request again, just like this code, but with additionaly sould make the rewrite of all the links.</p>
  
  <pre><code>&lt;?php
  // Set your return content type
  header('Content-type: text/html');
  
  // Website url to open
  $daurl = 'http://www.yahoo.com';
  
  // Get that website's content
  $handle = fopen($daurl, "r");
  
  // If there is something, read and return
  if ($handle) {
      while (!feof($handle)) {
          $buffer = fgets($handle, 4096);
          echo $buffer;
      }
      fclose($handle);
  }
  ?&gt;
  </code></pre>
  
  <p>I hope I have explained well. This question is for not reinventing the wheel.</p>
  
  <p>Another additional question. This kind of proxies will deal with contents like Flash?</p>