How get words on a webpage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/13/05, issin <issin@xxxxxxxxxxxxxx> 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:kenkam@xxxxxxxxx]
> Sent: Tuesday, April 12, 2005 3:16 PM
> To: issin
> Subject: Re:  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 <issin@xxxxxxxxxxxxxx> 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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux