note 91499 added to function.unlink

From: Date: Fri, 12 Jun 2009 21:24:45 +0000
Subject: note 91499 added to function.unlink
Groups: php.notes 
Request: Send a blank email to php-notes+get-156818@lists.php.net to get a copy of this message
careful with unlink... "very unlikely" is not "impossible" : granted, it will happen. 1) "expected" : a typo and you'll get : unlink('/') 2) "very likely" : some of your files are writeable by anyone. 3) "possible" : you're backup drive is mounted and preserves the authorizations of the original files 4) "very unlikely" : that particular day, at that particular moment, the unlink function decided to work recursively played all day long with ext3grep : no result. ---- Server IP: 213.246.51.26 Probable Submitter: 195.101.17.206 ---- Manual Page -- http://www.php.net/manual/en/function.unlink.php Edit -- https://master.php.net/note/edit/91499 Del: integrated -- https://master.php.net/note/delete/91499/integrated Del: useless -- https://master.php.net/note/delete/91499/useless Del: bad code -- https://master.php.net/note/delete/91499/bad+code Del: spam -- https://master.php.net/note/delete/91499/spam Del: non-english -- https://master.php.net/note/delete/91499/non-english Del: in docs -- https://master.php.net/note/delete/91499/in+docs Del: other reasons-- https://master.php.net/note/delete/91499 Reject -- https://master.php.net/note/reject/91499 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#156818) next »