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

A way to pass parameters in php_PHP tutorial

WBOY
Release: 2016-07-13 17:54:10
Original
860 people have browsed it

[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...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template