Take a look at LWP, specifically LWP::Simple. It should be easy to write a quick script something like this (not tested):
which would be called using something like: http://your.host.com/the_script.pl?url=http://google.com. This is primitive but should work for very basic things.#!/usr/bin/perl use strict; use warnings; use CGI; use LWP::Simple; my $url = CGI->param('url'); print CGI->header; print get( $url );
--tidiness is the memory loss of environmental mnemonics
In reply to Re: Perl proxy script
by EvdB
in thread Perl proxy script
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |