$_SERVER["PHP_SELF"] broken if index file is used
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
#2 Updated by Anonymous almost 9 years ago
- Status changed from Fixed to Need Feedback
- Resolution deleted (
Replying to firstname.lastname@example.org:
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
Also available in: Atom