<?php $str=$_SERVER['PHP_SELF']; $dir_file = $_SERVER['SCRIPT_NAME']; basename($str,'.php'); ?>
<?php $str=$_SERVER['PHP_SELF']; $dir_file = $_SERVER['SCRIPT_NAME']; basename($str,'.php'); ?>
转载于:https://www.cnblogs.com/hhrrcc/archive/2012/12/21/2827719.html