Re: read a web page and then display



On 30 Aug 2005 14:11:32 -0700, petermichaux@xxxxxxxxx wrote:

>Oops. This is getting closer to working

You didn't say how the previous one was "not working". How is this one closer?
What does it do?

>$filename = "http://babelfish.altavista.com/";;
>$handle = fopen($filename, "r");
>$contents = fread($handle, 100000000);

Read http://uk2.php.net/fread

--
Andy Hassall :: andy@xxxxxxxxxxx :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
.



Relevant Pages