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 BLA LOOK - Web Based Text Matching
PHP Remove new lines
PHP IP Deny using Array
PHP Generating random alphabetic string
PHP Array Looper with For and Explore
PHP Miltidimension array example
PHP Days Since January 1, 2010 Calculator - Calculate the Number of Days Since 2010
PHP Get User Real IP Address | PHP Function to Retrieve IP Address
PHP Bulgarian to Phonetic Translator
PHP Mail Validation