PHP Get URL with Parameter

后端 未结 5 1057
迷失自我
迷失自我 2021-02-01 15:45

I want to get a URL and its parameters. Example:

www.someweb.com/somepage.php?id=10

How to get only

5条回答
  •  面向向阳花
    2021-02-01 15:59

    Here's probably what you are looking for: php-get-url-query-string. You can combine it with other suggested $_SERVER parameters.

提交回复
热议问题