Home >Backend Development >PHP Tutorial >A way to pass parameters in php_PHP tutorial

A way to pass parameters in php_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:54:10859browse

[php]
echo basename($_SERVER['QUERY_STRING']);
You can match variable values ​​like this. http://localhost/?i=wddd

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/477974.htmlTechArticle[php] echo basename($_SERVER[QUERY_STRING]); You can match the variable value like this. http://localhost/?i=wddd...
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