i need help with this code.
need get only last part of the current url with php.
example: http://www.site.com/index.php?user=username bla bla and the rest words
get all url after = character, i need only username bla bla and the rest words
for javascript: document.URL.split("=")[1];
i need for php please, thanks.
i have tried with this code but not works,
basename($_SERVER['REQUEST_URI']);