I know that getenv("SCRIPT_NAME") will return the path of the file that is viewed. Such as
/regions/neb.php
How can I have it return the complete path including
/regions/neb.php?name=test
Hi, you can try $REQUEST_URI...
Thanks for the help, can't believe it was so simple.
used
$currentv = $_SERVER['QUERY_STRING'];
which returned
name=test out of /regions/neb.php?name=test