tion to use to grab the page. for the string
>
> http://us2.php.net/manual/en/function.fopen.php
>
> There are some good samples on the page
>
>$dh = fopen("$url",'r');
>$result = fread($dh,8192);
>
> Hope this is what you need.
>
Hope this is what you need.
Warren Vail
> -Original Message-
> From: Adam Williams [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 10, 2004 9:56 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] grabbing source of a URL
>
>
> Hi, I don't kno
[mailto:[EMAIL PROTECTED]
> Sent: Friday, December 10, 2004 9:56 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] grabbing source of a URL
>
>
> Hi, I don't know what functions to use so maybe someone can
> help me out.
> I want to grab a URL's source (all the code from
Hi, I don't know what functions to use so maybe someone can help me out.
I want to grab a URL's source (all the code from a link) and then cut out
a block of text from it, throw it away, and then show the page.
For example, if I have page.html with 3 lines:
hi
this is line a
this is line b
4 matches
Mail list logo