Redirects with javascript
Anderson Marcelo (andmar@centerinfo.com.br)
Thu, 28 Sep 2000 18:07:45 -0300
------=_NextPart_000_0133_01C02977.00F6DF80
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Please,=20
How make for the "result.html" content the=20
redirect of the "index.html" ??
The page (index.html) content this:
<script> window.location=3D"/test.shtml"</script>
My code in perl is:
require LWP::UserAgent;
$pag =3D new LWP::UserAgent;
my $urlind =3D 'http://www.server.om/index.html; =20
$req =3D new HTTP::Request('GET', $urlind);
$resp =3D $pag->request($req,'/tmp/result.html'); =20
$erro =3D $resp->{'_rc'};
return ($erro);
------=_NextPart_000_0133_01C02977.00F6DF80--