CODE
LIBARY.COM
Home
/
PHP
PHP Simple way to get extension
Simple way to get extension
<? $file = "test.php"; basename("$file",".php"); ?>
$file = "test.php"; basename("$file",".php"); ?>
Copy to Clipboard
Related Snippets
PHP Making gradient background color with tables
PHP Remove non-alphanumeric characters
PHP Random picture from folder
PHP Listing all folder and subfolders
PHP Directory Size Calculator Class
PHP IP Proxy check
PHP Array Simple Randomizing
PHP Delete file in all directories
PHP PHP IP Address Validation Function
PHP GD Font Test