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 Web-based ZIP Archive Creator for Directories
PHP JavaScript to HTML Function
PHP Get User Real IP Address | PHP Function to Retrieve IP Address
PHP Project Euler Problem 34
PHP Usefull Functions
PHP Generating random alphabetic string
PHP Check if Request is an Ajax Request
PHP Check PHP Version - Web Tool
PHP Duff's device
PHP Making RGB Colors to HEX