> -----Original Message-----
> From: Jimi Malcolm [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 28, 2001 2:17 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] What does this error mean?
>
>
> I'm trying to from a file in a directory called 'logs'. I've
> never seen
> this error before. What does it mean?
>
> <<<ERROR>>>
> Warning: fopen("logs/993700800.log","w+") - Permission denied in
> /home/sites/site20/users/guide/web/counter.php on line 28
If this is a file that already exists, your script does not have
permission to write to it. (Check file permissions.)
If the file doesn't already exist, your script does not have permission
to create a file in that location. (Check directory permissions.)
In both cases, keep in mind that the script is most likely running as
whatever userID the web server runs as (commonly 'nobody'), not as your
own userID. Make sure file and directory permissions are set
accordingly.
---
Mark Roedel ([EMAIL PROTECTED]) || "There cannot be a crisis next week.
Systems Programmer / WebMaster || My schedule is already full."
LeTourneau University || -- Henry Kissinger
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]