|
Posted by Ken on 10/01/38 11:13
On 4/13/05, issin <issin@koide.3322.org> 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@gmail.com]
> 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 <issin@koide.3322.org> 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
Navigation:
[Reply to this message]
|