$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.