note 73776 rejected from function.fread by philip

From: Date: Fri, 09 Mar 2007 19:48:07 +0000
Subject: note 73776 rejected from function.fread by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-124278@lists.php.net to get a copy of this message
Note Submitter: mendoza1024 at gmail dot com ---- Im trying to read a PHP script with fopen and fread but the function doesn't work, i'd like to know if is it a kind of security restriction or just a bad configuration. this is my code <?php $filename='c:/prueba.txt'; $handle=fopen($filename,'r'); $script=fread($handle,filesize($filename)); echo $script; ?>

« previous php.notes (#124278) next »