topical media & game development

talk show tell print

actionscript-extra-flickr-read.php



  <?php
  error_reporting(E_ALL);
  
  
download: proxy.zip

require_once 'server-proxy-class.php';

instance


  
  PHProxy = new PHProxy(isset(_GET['flags']) ? _GET['flags'] : '00110');
  
  

file


  
  if(isset(_GET['file']))
  {
  if(preg_match("/^http:\/\/static\.flickr\.com\/[0-9]+\/[0-9a-z_]+\.jpg/", _GET['file'])) {
      url = PHProxy->encode_url(_GET['file']);
      PHProxy->start_transfer(url);
      echo PHProxy->return_response();
  }
      exit();
  }
  ?>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.