|
Posted by Jerry Stuckle on 09/13/07 20:26
tedpottel@gmail.com wrote:
> Hi,
>
> I have a local webserver/php develpment system running under windows
> xp,
> the following line works fine
> $handle = fopen("ted.txt", "w");
>
> but when I try to run it on my hosting account, it gives me the
> following error
> Warning: fopen(ted.txt) [function.fopen]: failed to open stream:
> Permission denied in /home/allthing/public_html/test.php on line 13
> coulf not open file
>
> On a uniz web server how do I set the file permissions???
>
*Permission denied*
That tells you right there what the problem is. The web server user
doesn't have the authority to open the file.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|