php檔名的相關文章
php檔名的相關商品

php - Get the current script file name - Stack Overflow
瀏覽:1182
日期:2025-06-13
Just use the PHP magic constant... echo __FILE__;. to get the current filename. But it seems you want the part without .php . So... echo preg_replace('/\.php$/', '' ......看更多