fread()

From: Date: Mon, 21 Feb 2005 10:12:37 +0000
Subject: fread()
Groups: php.db 
Request: Send a blank email to php-db+get-38625@lists.php.net to get a copy of this message
Hi All, I'd just like to know if it is possible to use fread to read the html content of a serverside coded page....as in something like this: <?php $filename = "/usr/local/something.php"; $handle = fopen($filename, "r"); $contents = fread($handle, filesize($filename)); fclose($handle); ?> --------------------------------- A passion till tomorrow, Opeyemi Obembe | ng.clawz.com --------------------------------- Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term'

« previous php.db (#38625) next »