<?php
$url = $_SERVER['PHP_SELF'];
echo $url;
?>
if my url is 'www.phpbuilder.com/test.php?FormID=10', this code will return:
'www.phpbuilder.com/test.php'
My question is is there a function so that the script knows the last bit of the address WITHOUT USING A POST OR GET AND PUTTING THAT LAST VALUE INTO A VARIABLE?
I am not sure if it can be done.