note 24995 rejected from function.touch by victor

From: Date: Sat, 07 Sep 2002 08:32:32 +0000
Subject: note 24995 rejected from function.touch by victor
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-36289@lists.php.net to get a copy of this message
My php script has this: touch ("/var/www/html/test.log"); But when it runs on my browser, it says this: Warning: unable to create file /var/www/html/test.log because Permission denied in /var/www/html/index3.php on line 5 Any way to get permissions for a file that doesn't exist on the system already? (eg. test.log)

« previous php.notes (#36289) next »