You are here: [PHP] How get words on a webpage « PHP « IT news, forums, messages
[PHP] How get words on a webpage

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация