Re: What's wrong with this code?

From: Date: Mon, 23 Apr 2001 08:35:05 +0000
Subject: Re: What's wrong with this code?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-49821@lists.php.net to get a copy of this message
On Monday 23 April 2001 08:59, Alexander Wagner wrote: > Tyler Longren wrote: > > $file = fopen("includes/about.inc", "r"); > > $data = fread($file, 24000000); $file = "includes/about.inc"; if ($fp = fopen($file,"r")) { $data = fread($fp,filesize($file)); fclose($fp); } ought to work. -- php developer / CoreTrek AS | Beware of a tall dark man with a spoon Sandnes / Rogaland / Norway | up his nose. web: http://www.moijk.net/ |

« previous php.general (#49821) next »