Posted by Chris Shiflett on 10/12/02 11:29
Ruben Rubio Rey wrote: > $handle = fopen($filename, "r"); > $contents = fread($handle, filesize($filename)); > fclose($handle); > echo $contents; Replace this with: readfile($filename); It's faster for both you and PHP. Hope that helps. Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming