...

View Full Version : Resolved Whats wrong with this echo readfile attempt?



Democrazy
09-19-2011, 07:44 AM
<?php
$file = readfile ('/var/log/apache2/10.1.1.1/access.log');
echo $file;
?>

Democrazy
09-19-2011, 07:46 AM
All cool:

failed to open stream: Permission denied

Adolf1994
09-19-2011, 05:16 PM
file_get_contents() works well for me



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum