How get words on a webpage

From: Date: Wed, 13 Apr 2005 08:35:38 +0000
Subject: How get words on a webpage
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-212992@lists.php.net to get a copy of this message
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

« previous php.general (#212992) next »