|
where can I host cgi proxy scripts for free? A lot of the webhosts only allow php...
Host cgi proxy?
CGI doesn't actually specify what sort of script it is. Basically, a CGI page can be written in any format that the OS or the web server knows how to execute--shell scripts, native ELF executables under *NIX, and even PHP can be used as CGI "pages". As such, finding a hosting provider willing to run an arbitrary executable is likely to be difficult. For instance, if it's a compiled program for Linux, a Windows hosting provider will be completely unable to assist you, but won't know that if you present yourself as looking for a "CGI host".
Have I explained the issue clearly?
As for PHP hosts, it's easy enough to create a PHP script that does what you're looking for. For instance, if wrappers are enabled:
<?
print file_get_contents(urlencode($_REQUEST['U...
?>
installed as "proxy.php" will return Yahoo.com when called with:
proxy.php?URI=http%3A%2F%2Fwww.yahoo.c...
|