CODE
LIBARY.COM
Home
/
PHP
PHP Array Extension Get
Array Extension Get
<? $file = "file.php3"; $part = explode(".",$file); echo $part[count($part)-1]; ?>
$file = "file.php3"; $part = explode(".",$file); echo $part[count($part)-1]; ?>
Copy to Clipboard
Related Snippets
PHP "PHP Ordinal Suffix: Add th, st, nd or rd to Numbers"
PHP Add Post Images to RSS Feed in WordPress
PHP PHP Array Mapping Examples
PHP Mail Validation
PHP Getting User IP
PHP Basic Directory Listing
PHP Schwartzian transform
PHP Apache Headers Request
PHP .htpasswd Password Generation
PHP Search in folders and subfolders