Hello. I'm relying on the following code so that a script can
automatically detect where it's installed and create paths and URLs from
the information. This way absolute paths and URLs are always used.
I've had a couple people report that the script wasn't finding the paths
correctly, though,
Hello,
I see one potential problem with this detection in one special case.
This will only occur if you use Apache's feature PATH_INFO.
There $current_page will be inaccurate as the scriptname might
be /index.php but the URL could be /index.php/path/to/mypage or just
/index/path/to/mypage -
* Thus wrote John W. Holmes ([EMAIL PROTECTED]):
I've had a couple people report that the script wasn't finding the paths
correctly, though, so I'm asking if people could test this out on their
server and see if it detects the paths or not.
works fine with freebsd/apache-1.3.x/php5rc1
3 matches
Mail list logo