note 34536 added to function.touch

From: Date: Wed, 30 Jul 2003 08:31:46 +0000
Subject: note 34536 added to function.touch
Groups: php.notes 
Request: Send a blank email to php-notes+get-52993@lists.php.net to get a copy of this message
Hey touch don´t work : <?php $file = "test.dat"; if (!file_exist("$file")) { touch = ("$file"); } ?> It´s says that : Warning: touch() [function.touch]: Unable to create file test.dat because Permission denied in test.php on line 5 Can you help me please? ---- Manual Page -- http://www.php.net/manual/en/function.touch.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34536 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34536&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34536&report=yes

« previous php.notes (#52993) next »