Re: Printing out remove pages

From: Date: Sat, 10 Jun 2000 00:30:35 +0000
Subject: Re: Printing out remove pages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1519@lists.php.net to get a copy of this message
In article <000e01bfce23$287cada0$012aa8c0@Leon>, leon@solatis.com ("Leon Mergen") wrote: > ------=_NextPart_000_000B_01BFCE33.EAC81BA0 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > Hello, > > I've written a small newsgrabber for one of my sites, which looks like = > this: > > $fd =3D > fopen("http://www.cmptr.com/dump/headline.txt", > "r"); > $contents =3D fread( $fd, filesize( $filename ) ); Probably the filesize call here doesn't work. Use 1000000 -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#1519) next »