how can i find the full path of a file on a particular site
like if a file "test.php" is on a domain http://www.xyz.com , how can i get this
http://www.xyz.com/test.php
needed urgently
thanks in advance
please elaberate, the question makes no sense.
Hi,
Check out the Manual for the SERVER variables: http://www.php.net/reserved.variables
$fullURL = 'http://'.$SERVER["SERVER_NAME"].$SERVER["PHP_SELF"];