I know this is probably kindergarten to most of you, but if I had to
do it (I only use Unix) and strip all the HTML, I'd simply do the
following.
$url = 'http://domain/path/to/file';
$file = `lynx -dump $url`;
print $file;
===
Shaun Fryer
===
London Webmasters
uot;Agustin Rivera" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 4:50 PM
Subject: RE: Writing file to Windows
> Agustin,
>
> Does the following code actually contain all the html code in $address?
>
> Is there a way I could strip all t
2002 11:10 AM
To: Daniel Falkenberg
Subject: Re: Writing file to Windows
Then I'm sure it is a permissions problem.
Agustin Rivera
Webmaster, Pollstar.com
http://www.pollstar.com
- Original Message -
From: "Daniel Falkenberg" <[EMAIL PROTECTED]>
To: "Agusti
a
Webmaster, Pollstar.com
http://www.pollstar.com
- Original Message -
From: "Daniel Falkenberg" <[EMAIL PROTECTED]>
To: "Agustin Rivera" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 3:27 PM
Subject: RE: Writing file to Win
ustin Rivera [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 26 February 2002 9:54 AM
To: Daniel Falkenberg; [EMAIL PROTECTED]
Subject: Re: Writing file to Windows
I'm getting a ton of errors just trying to get your code to work. But
since
you are addressing the simple grabbing of a web page, does this
I'm getting a ton of errors just trying to get your code to work. But since
you are addressing the simple grabbing of a web page, does this code work...
use LWP::Simple;
use strict;
my $address="http://www.pollstar.com";;
my $content = get($address);
print $content;
Agustin Rivera
Webmaster,