How can I get the whole URL of a file including its querystring to send through with a form? Using $PHP_SELF only givs the filename eg file.php, but I need file.php?variable=whatever How can I do this?
Hm,
try using SCRIPT_FILENAME or SCRIPT_URI. Variables taken from Apache enviroment.
Slaven
This info is held in $REQUEST_URI 🙂