<?
/*
_SERVER["SCRIPT_URI"]+"?"+$_SERVER["QUERY_STRING"]
或者
$_SERVER['SCRIPT_NAME']. "?" .$_SERVER['HTTP_ACCEPT']
*/
echo $_SERVER['REMOTE_HOST'];
echo $_SERVER['SERVER_NAME'];
echo "<br>";
$a= explode ("/","http://mail.sohu.com");
echo count( $a );
echo '<br>';
echo $a[0];
echo '<br>';
echo $a[1];
echo '<br>';
echo $a[2];
echo "<p>";
echo strtolower("A");
?>