摘要: $path = "/home/httpd/html/index.php";$file = basename($path); // $file is set to "index.php"$file = basename($path,".php"); // $file is set to ... 阅读全文
posted @ 2015-05-27 11:16 qqisnow2021 阅读(180) 评论(0) 推荐(0)
摘要: 当请求地址为 localhost/drupal/node/2?name=qinqiu$_SERVER['SCRIPT_NAME'] = /drupal/index.php即代码所在文档的目录和文件名$_SERVER['REQUEST_URI'] = /drupal/node/2?name=qinqi... 阅读全文
posted @ 2015-05-27 10:57 qqisnow2021 阅读(143) 评论(0) 推荐(0)