note 78606 added to function.touch

From: Date: Thu, 18 Oct 2007 20:01:58 +0000
Subject: note 78606 added to function.touch
Groups: php.notes 
Request: Send a blank email to php-notes+get-131517@lists.php.net to get a copy of this message
In unix on the command-line, you can touch files you don't own - but like other comments on this page state - PHP's built in touch won't work. I simple alternative (on unix): <?php function touch_it_good($filename) { exec("touch {$filename}"); } ?> ---- Server IP: 69.147.83.197 Probable Submitter: 67.127.57.197 ---- Manual Page -- http://www.php.net/manual/en/function.touch.php Edit -- https://master.php.net/note/edit/78606 Del: integrated -- https://master.php.net/note/delete/78606/integrated Del: useless -- https://master.php.net/note/delete/78606/useless Del: bad code -- https://master.php.net/note/delete/78606/bad+code Del: spam -- https://master.php.net/note/delete/78606/spam Del: non-english -- https://master.php.net/note/delete/78606/non-english Del: in docs -- https://master.php.net/note/delete/78606/in+docs Del: other reasons-- https://master.php.net/note/delete/78606 Reject -- https://master.php.net/note/reject/78606 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#131517) next »