RE: [PHP] What does this error mean?

From: Date: Fri, 29 Jun 2001 19:02:05 +0000
Subject: RE: [PHP] What does this error mean?
Groups: php.general 
Request: Send a blank email to php-general+get-55594@lists.php.net to get a copy of this message
> -----Original Message----- > From: Jimi Malcolm [mailto:jimimalcolm@home.com] > Sent: Thursday, June 28, 2001 2:17 PM > To: php-general@lists.php.net > 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 (roedelm@letu.edu) || "There cannot be a crisis next week. Systems Programmer / WebMaster || My schedule is already full." LeTourneau University || -- Henry Kissinger

« previous php.general (#55594) next »