取得檔案名稱,echo沒有印出檔案名稱

edited 八月 2014 in Flex & Flash
============================new6.php===========================
<head>
<title>
</title>
</head>
<meta http-equiv ="content-type" content="text/html ; charset=
<body>
<?php
$path=$_SERVER['PHP_SELF'];
echo basename($path).'<br>';
echo basename($path,'.php').'<br>'; 
?>
</body>

評論

Sign In or Register to comment.