Bug #3
closed$_SERVER["PHP_SELF"] broken if index file is used
Description
I just found what looks like a bug to me regarding the access to the
indexfile and what is returned to $_SERVER'PHP_SELF'.
I have a page where I've set the index-file to index.php.
If I access the site just with http://mydomain.de/ and look at the
php-self there I get /index.phpindex.php .
If I access the site with http://mydomain.de/index.php I get the correct
/index.php .
-- thomas.seifert
Updated by Anonymous almost 20 years ago
- Status changed from New to Fixed
- Resolution set to fixed
Fixed in SVN. See r10
-- jan
Updated by Anonymous over 16 years ago
- Status changed from Fixed to Need Feedback
- Resolution deleted (
fixed)
Replying to jan@kneschke.de:
Fixed in SVN. See r10
I too have faced the same problem I wrote a page that refers to itself while dynamicaly generating the GUI and the link wants to browse the repository folder where the script resides, is it absolutely necessary to use the "filename.php" or is ther another way around
-- anjy.kc
Updated by Anonymous over 16 years ago
Replying to jan@kneschke.de:
Fixed in SVN. See r10
CANNTO BE FIXED JUST DEALT WITH IT NOW !
-- anjay.kc
Updated by icy over 16 years ago
What are you talking about? DON'T WRITE IN CAPS MKAY?
If you use relative url paths instead of absolute, there's no need for the PHP_SELF thing.
Updated by hoffie over 16 years ago
- Status changed from Need Feedback to Fixed
- Resolution set to fixed
The bug is supposed to be fixed, if it is not, please provide details. Although shouting to yourself looks quite funny, it doesn't help us in this case.
Closed again for now.
Also available in: Atom