摘要: $_SERVER['SCRIPT_FILENAME'] > 当前执行程序的绝对路径及文件名__FILE__ > 原始文件(被包含文件)的绝对路径及文件名 eg:假设web根目录是 e:/myweb先建立 e:/myweb/index.php内容是:<?php require 'other/index 阅读全文