RE: Printing out remove pages

From: Date: Sun, 04 Jun 2000 18:30:39 +0000
Subject: RE: Printing out remove pages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-985@lists.php.net to get a copy of this message
At this moment this is a dead link, maybe that is the problem. http://www.cmptr.com/dump/headline.txt Ted Knudson http://www.automatedcabinets.com http://www.pulsarusa.com > I've written a small newsgrabber for one of my sites, which looks > like this: > > $fd = fopen("http://www.cmptr.com/dump/headline.txt", > "r"); > $contents = fread( $fd, filesize( $filename ) ); > fclose( $fd ); > echo $contents; > > But this doesn't work! It just prints out a blank page! Anyone > knows what's wrong? > > This does work for local files (like /home/httpd/html/test.txt) > > > Carpe Diem, > > - Leon (ICQ # 55677353) > http://www.solatis.com/ <- free webmaster resources! > http://www.coolguest.com/ <- free guestbooks for your site! > http://www.ffalp.com/ <- create your own free mini-yahoo > > ---- > I haven't lost my mind! > I've got it on tape somewhere... > ---- > >

« previous php.general (#985) next »