hammerslane
10-11-2005, 10:42 AM
Scenario: The script location is at /home/server/e/example.com/htdocs/folder/contact.php on the server.
Question: does a predefined variable exist which contains either of these values:
'contact.php'
'/folder/'
$_SERVER['PHP_SELF'] is the closest I can find - but that's just a combination of the two.
If predefined variables do not exist for either of these values, is there a way to create a variable containing them?
If there is no way to create either of these variables, please let me know.
Thanks very much for reading my post.
Question: does a predefined variable exist which contains either of these values:
'contact.php'
'/folder/'
$_SERVER['PHP_SELF'] is the closest I can find - but that's just a combination of the two.
If predefined variables do not exist for either of these values, is there a way to create a variable containing them?
If there is no way to create either of these variables, please let me know.
Thanks very much for reading my post.