On 4/13/05, issin <[EMAIL PROTECTED]> wrote:
> Ken,
> 
>         Echo and printf can't get words on other webpage. I want get words,
> no only show.
>         Thanks!
> 
> Issin
> 
> -----Original Message-----
> From: Ken [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 12, 2005 3:16 PM
> To: issin
> Subject: Re: [PHP] How get words on a webpage
> 
> Man....
> 
> one thing: RTFM
> 
> http://www.php.net/echo/
> http://www.php.net/printf/
> 
> On Apr 12, 2005 9:07 AM, issin <[EMAIL PROTECTED]> wrote:
> > Dear all,
> >
> >            I want get words include "today ****** tonight" on
> > www.XXX.com/index.html, and then show on my webpage.
> >
> >            Please advise, thanks!
> >
> > issin
> >
> > ________ Information from NOD32 ________
> > This message was checked by NOD32 Antivirus System for Linux Mail Server.
> > http://www.nod32.com
> >
> >
> 
> ________ Information from NOD32 ________
> This message was checked by NOD32 Antivirus System for Linux Mail Server.
> http://www.nod32.com
> 

ahhh! I get your drift now.
you can do so by using fopen

$fp = fopen("http://www.XXX.com/index.html";, r);
$contents = fread($fp, 10000000);
fclose($fp);'

then use string functions or regexp to search $contents for what you want.

HTH.

Ken

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to