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 Measuring PHP Execution Time
PHP Generating random alphabetic string
PHP File Visit Counter
PHP Rename filenames to numbers
PHP Simple Graphic Counter
PHP Fibonacci Numbers
PHP Ma.cx subdomain tool
PHP Execute system commands
PHP Last time a file was modified
PHP Remote File Copy PHP Script 2.0.0