PHP Get URL with Parameter
2022-08-30 13:16:22
I want to get a URL and its parameters. Example:
www.someweb.com/somepage.php?id=10
How to get only ?somepage.php?id=10
I'm already tried and but it only gives me or . What I want to is just the page name and its parameter(s).REQUEST_URI
PHP_SELF
www.someweb.com/somepage.php
somepage.php