Bug #14475: unlink($PHP_SELF) cause strange message

From: Date: Thu, 13 Dec 2001 00:45:05 +0000
Subject: Bug #14475: unlink($PHP_SELF) cause strange message
Groups: php.dev 
Request: Send a blank email to php-dev+get-73439@lists.php.net to get a copy of this message
From: jj@thecloud.org Operating system: Linux Slackware and Cobalt Raq4 PHP version: 4.0.6 PHP Bug Type: Filesystem function related Bug description: unlink($PHP_SELF) cause strange message I've tryed to unlink the self .php file with: unlink($PHP_SELF); and got this warning: Warning: Failed opening '/home/sites/site4/web/uff.php' for inclusion (include_path='') in Unknown on line 0 Obviously: 1) the file name was uff.php placed in the path '/home/sites/site4/web/ 2) The page had no "include" statements. uff.php ------- <?php if ($login!="hello"){ exit("Hello"); } ?> Hello Word <?php unlink($PHP_SELF); ?> Byez -- Edit bug report at: http://bugs.php.net/?id=14475&edit=1

« previous php.dev (#73439) next »