How can I get the url for the current page in php?
I tried these but none returned the exact url
$_SERVER['SCRIPT_NAME']
$_SERVER['PHP_SELF']
__FILE__
I just want it to to just get the same url as dsiplayed in the user adress bar.. (includeing the domain and ?myvar = value etc)
I tried these but none returned the exact url
$_SERVER['SCRIPT_NAME']
$_SERVER['PHP_SELF']
__FILE__
I just want it to to just get the same url as dsiplayed in the user adress bar.. (includeing the domain and ?myvar = value etc)