ID: 14475
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Filesystem function related
Operating System: Linux Slackware and Cobalt Raq4
PHP Version: 4.0.6
New Comment:

chmod 777 uff.php then it gives the same error.
Infact I wouldn't suggest for a bug if I wasn't sure the permissions where correctly 
set.
However, even if permissions were not correclt set, the error message should have been 
different.

Ciao
Julien

Previous Comments:
------------------------------------------------------------------------

[2001-12-13 06:18:12] [EMAIL PROTECTED]

This error is probably caused by incorrect permission. Check if your webserver has 
READ access to the file. If not, PHP can't open the file to parse it and it will die 
with this message. Reopen if this is not the case.

------------------------------------------------------------------------

[2001-12-12 19:45:04] [EMAIL PROTECTED]

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 this 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]

Reply via email to