I wrote this php-proxy-script and have been using for different purpose (loading cross-domain data like text, xml, swf, image etc or for YouTube REST API from Flash-clients). Lots of folks keep asking about asking about proxy-scripts in forums, now they can download the code and use
http://yourserver.com/proxy.php?url=<url_encoded_desitnation_url>[&mimeType=<mimeType>]
To load XML/Text:
http://yourserver.com/proxy.php?url=http%3A//abdulqabiz.com/blog/index.xml
To load a SWF (binary-data):
http://yourserver.com/proxy.php?url=http%3A//abdulqabiz.com/files/some.swf&mimeType=application/x-shockwave-flash.
Written by http://www.abdulqabiz.com/blog/archives/general/php_proxy_script_for.php.
You must be logged in to post a comment.