abdoh2010
04-29-2005, 07:49 PM
i'm trying to extact the file "/tmp/webalizer/index.html" to the public by php code
$handle = fopen("/home/site/tmp/webalizer/index.html", "r");
echo $handle ;
fclose($handle);
but it dont work
it gave me
Warning: fopen(/home/site/tmp/webalizer/index.html): failed to open stream: Permission denied in /home/racing4e/public_html/bandwdith.php on line 2
Warning: fclose(): supplied argument is not a valid stream resource in /home/site/public_html/bandwdith.php on line 4
so i tryed to change it from 644 to 666 to 755 but nochange is happen
any one know whats wrong here ?
$handle = fopen("/home/site/tmp/webalizer/index.html", "r");
echo $handle ;
fclose($handle);
but it dont work
it gave me
Warning: fopen(/home/site/tmp/webalizer/index.html): failed to open stream: Permission denied in /home/racing4e/public_html/bandwdith.php on line 2
Warning: fclose(): supplied argument is not a valid stream resource in /home/site/public_html/bandwdith.php on line 4
so i tryed to change it from 644 to 666 to 755 but nochange is happen
any one know whats wrong here ?
