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