Home  >  Article  >  Backend Development  >  PHP web page passes parameters

PHP web page passes parameters

WBOY
WBOYOriginal
2016-08-08 09:32:211332browse

$k = $_REQUEST['k'];
			if (!empty($k))
			{
				$k = trim($k);
				echo 'python ./some.py '.$k;
			}

http://localhost/IptPerf/showResult.php?k=23

The above introduces the parameters passed by PHP web pages, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.

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
Previous article:Note: ClassNext article:Note: Class