Home  >  Article  >  Backend Development  >  php获取url中的参数,该怎么解决

php获取url中的参数,该怎么解决

WBOY
WBOYOriginal
2016-06-13 13:45:39920browse

php获取url中的参数
比如说有一个url,形式为

PHP code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->http://www.abcd.org/go.php?&from=efgh&go=www.ijkl.edu.cn
,如何获取这个url中的from参数和go参数?

------解决方案--------------------
怎么又有这个 用$_GET['from'];
------解决方案--------------------
$_GET['from']和$_GET['go']
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn