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/ | -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] What's wrong with this code? Tyler Longren
- Re: [PHP] What's wrong with this code? Alexander Wagner
- Re: [PHP] What's wrong with this code? Chris Fry
- Re: [PHP] What's wrong with this code? Geir Eivind Mork
- Re: [PHP] What's wrong with this code? David Bouw
- [PHP] What's wrong with this code? Plutarck
- Re: [PHP] What's wrong with this code? CC Zona
- Re: [PHP] What's wrong with this code? Rasmus Lerdorf
- Re: [PHP] What's wrong with this code? Plutarck
- Re: [PHP] What's wrong with this code? Christian Reiniger
- Re: [PHP] What's wrong with this ... Plutarck
- Re: [PHP] What's wrong with t... Christian Reiniger
- Re: [PHP] What's wrong wi... Plutarck
- Re: [PHP] What's wrong with this code? James Holloway