I'm trying to get the full path of the url including any url parameters.
for example I need http://www.domain.co...php?234243=1231
I need Result
$url = $_SERVER['HTTP_HOST'] . basename($_SERVER['REQUEST_URI']);
but gives me
www.domain.com/Test.php?234243=1231 which is missing /test??
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users