$_SERVER['REQUEST_URI']
For more details on what info is available in the $_SERVER array, see the PHP manual page for it.
If you also need the query string (the bit after the ? in a URL), that part is in this variable:
?
$_SERVER['QUERY_STRING']
No hay comentarios:
Publicar un comentario