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@xxxxxxxxxxxx *** *** http://www.media-it.net *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php