>>16
$_SERVER['PHP_SELF'] じゃ駄目なの?