|
Posted by Aleksandar Cikota on 06/08/06 22:11
Hello,
I have a problem with fopen().
For example, php code:
<?php
$pf = fopen("savedinfo.txt", "w");
?>
-->error message:
Warning: fopen(savedinfo.txt) [function.fopen]: failed to open stream:
Permission denied in c:\Inetpub\wwwroot\test\test1.php on line 2
and if the code looks so, I dont recieve any error message:
<?php
$pf = fopen("savedinfo.txt", "r");
?>
I can read a file, but I can't write on it. It is not writeable. Why? What
should I do?
P.S. I use Windows, this means, I don't can use chmod. If I use "wb" the
error message is the same.
Thank You!
Best regards,
Aleskandar
Navigation:
[Reply to this message]
|