note 93787 modified in function.touch by danbrown

From: Date: Tue, 29 Sep 2009 15:32:08 +0000
Subject: note 93787 modified in function.touch by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-161144@lists.php.net to get a copy of this message
To touch a file without being owner, it is much easier: <?php function touchFile($file) { fclose(fopen($file, 'a')); } ?> --was-- To touch a file without being owner, it is much easier: function touchFile($file) { fclose(fopen($file, 'a')); } http://php.net/manual/en/function.touch.php

« previous php.notes (#161144) next »