From: [EMAIL PROTECTED]
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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]