Re: Selective seeing =)

From: Date: Wed, 13 Mar 2002 04:48:04 +0000
Subject: Re: Selective seeing =)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-88292@lists.php.net to get a copy of this message
not tested :) $lines = file( 'http://www.cow.net/cows/' ); print $lines[ rand()%sizeof($lines) ]; /nico "Liam" <phplist@operationenigma.com> wrote in message news:MWMail.ngtibbji@host.none... > 12/03/2002 11:20:18 PM > > Hey all, > I'm looking to write a PHP script that will cut all content out of a page and only > display one line. For example, take this URL: > http://www.cow.net/cows/ > > I want a script that will get this page, but only display the line at the bottom of > the page that says: > "I will never speak to Sara Glover again" > > The real use is to get the current usage from my ISP's online tracking system > and display it on a page without 1) having to log in and 2) displaying my password. > The page is accessible but just sending all paramaters in the URL, so a login > as such isn't nesessary. > > The question is, does anyone know of any classes or PHP programs that I could > use to do this? > > Cheers, > Liam > >

« previous php.general (#88292) next »