Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php get extension from string

$ext = pathinfo($filename, PATHINFO_EXTENSION);

//Remember that if you want to be able to deal with non ASCII characters, you need to set the locale first. E.G:
setlocale(LC_ALL,'en_US.UTF-8');
Comment

PREVIOUS NEXT
Code Example
Php :: php utf 8 sqlsrv 
Php :: Connecting to the database using mysqli 
Php :: convert string to date php 
Php :: laravel change column type 
Php :: php reload current page 
Php :: PHPspreadsheet getColumnDimension 
Php :: get category name by id wordpress 
Php :: php get remote file last modified 
Php :: php truncate string 
Php :: phpspreadsheet setcellvalue row background color 
Php :: create a exporter in laravel command 
Php :: get product price wordpress 
Php :: php get age from dob 
Php :: laravel check if form has errors 
Php :: php regex remove characters from string 
Php :: blade switch 
Php :: find distance between two coordinate in php 
Php :: laravel fillable 
Php :: php get hdd serial number 
Php :: laravel 8 plural singular 
Php :: Internal error: xmlSchemaDocWalk, calling xmlSchemaValidateElem(). 
Php :: php append file 
Php :: ipn listener paypel php 
Php :: how to update all row in laravel 
Php :: get message validator failed laravel 
Php :: moodle webservice create user phone2 
Php :: how to get php version in xampp 
Php :: codeigniter 3 Configured database connection has cache enabled 
Php :: php remove class attribute 
Php :: yii2 get cookie 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =