Re: Re: Using fopen()/fread()/fscanf()

From: Date: Tue, 23 Jul 2002 07:00:54 +0000
Subject: Re: Re: Using fopen()/fread()/fscanf()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-109050@lists.php.net to get a copy of this message
On Tuesday 23 July 2002 14:16, Jason Soza wrote: > I'm fairly certain that fopen() is working fine - I can echo "$contents"; > and it works great, but it displays the entire page that I fetched. I just > want certain parts of the page and unfortunately, fscanf() doesn't seem to > think $contents or $filename are valid. Just more info on this, I tried > replacing fscanf($filename,...) with fscanf($contents,...) and got the same > result. Not sure why you're using fscanf() and why it doesn't work. I would use preg_match() on $contents. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Communications satellite used by the military for star wars. */

« previous php.general (#109050) next »