|Think about Loose Coupling|
Re: Read web page Databy thinker (Parson)
|on Jul 20, 2003 at 08:26 UTC||Need Help??|
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 :-)