in reply to Read web page Data
Hi AM,
When you ask for yahoo.com, what you will get is the default page for that site, maybe index.html, or index.cgi, or whatever. It doesn't really matter what it is called, it is just an html page.
In which case, simply change $file = "/path/to/savefile.txt" to $file = "/path/to/savefile.html"
Of course, hardcoding the filename in there is of limited use, unless you want to rename the file after each run of the program
I hope this is what you were asking :-)
cheers
thinker
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Read web page Data
by Anonymous Monk on Jun 12, 2013 at 06:50 UTC | |
Re: Re: Read web page Data
by Anonymous Monk on Jul 20, 2003 at 12:05 UTC | |
by Anonymous Monk on Jun 17, 2010 at 17:08 UTC |