note 45828 added to function.unlink

From: Date: Mon, 20 Sep 2004 20:59:38 +0000
Subject: note 45828 added to function.unlink
Groups: php.notes 
Request: Send a blank email to php-notes+get-77072@lists.php.net to get a copy of this message
Maybe this is trivial, but it never occured to me that it could be done until it happened to me by mistake. Name this file "unlinkyourself.php" and put it in a 777 chmoded directory: <?php unlink("unlinkyourself.php"); ?> <html> <head> <title>I am a ghost</title> </head> <body> This page has already killed itself! <br> (Click the refresh-button) </body> </html> ---- Manual Page -- http://www.php.net/manual/en/function.unlink.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+45828 Delete -- http://master.php.net/manage/user-notes.php?action=delete+45828&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+45828&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#77072) next »