Re: executed script URL
| From: | Michal Kozusznik | Date: | Thu, 24 Mar 2005 08:00:55 +0000 |
| Subject: | Re: executed script URL | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211437@lists.php.net to get a copy of this message | ||
Hello
> Rasmus answered this question a week or two ago. Search the archives
> for 'getenv request' and you will likely find the answer.
I found something (in last 3000 posts) but it says about
getenv('REMOTE_ADDR'). My problem is how to get an URL of executed
script in always working way, compatible will all servers/configs
The problem is in URLs like this
http://domain.name.com/ ... some path ... /script.php
Where I cannot get 'some path' part (in compatible way).
best regards
--
*** Media-IT Michał Kożusznik ***
*** IT networks - databases - multimedia ***
*** maxym@media-it.net ***
*** http://www.media-it.net ***