$_SERVER[‘REQUEST_URI’];
对于php4只在apache下课用;
对于php5iis、apache下都可用;
iis+php4获取当前url:
$_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING']? '?'.$_SERVER['QUERY_STRING'] : '')
$_SERVER[‘REQUEST_URI’];
对于php4只在apache下课用;
对于php5iis、apache下都可用;
iis+php4获取当前url:
$_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING']? '?'.$_SERVER['QUERY_STRING'] : '')