get data from URL without having variables
This question already has an answer here:
The superglobal $_SERVER['PATH_INFO'] contains all the parts of the URL path after the script. So if the user goes to:
welcom.com/index.php/NewYork-NY/Driver
$_SERVER['PATH_INFO'] will contain /NewYork-NY/Driver .
上一篇: 如何检查在Python中的文件大小?
下一篇: 从URL获取数据而不需要变量
