Hi! I wrote this script and executed on my server, with php 4.1.2
<?php
$fp = fopen('test.txt ', 'w');
fwrite($fp, "Bla bla");
fclose($fp);
?>
it returns this message:
Warning: fopen("test.txt ", "w") - Permission denied in file.php4 on line 3
I've tried to change file permissions, change to fopen('test.txt ', 'w+b')
and other modes. But it doesn´t work.
Please help!!
I've seen I can't unlink or rename some files.
<?php
$fp = fopen('test.txt ', 'w');
fwrite($fp, "Bla bla");
fclose($fp);
?>
it returns this message:
Warning: fopen("test.txt ", "w") - Permission denied in file.php4 on line 3
I've tried to change file permissions, change to fopen('test.txt ', 'w+b')
and other modes. But it doesn´t work.
Please help!!
I've seen I can't unlink or rename some files.
Comment