Horje
php get file extension from filename Code Example
php get file extension from filename
$ext = pathinfo($filename, PATHINFO_EXTENSION);
get extension from filename php
// your file
$file = 'image.jpg';
$info = pathinfo($file);
// Before PHP 5.2
$file_name =  basename($file, '.'.$info['extension']);
// After PHP 5.2
$file_name =  $info['filename'];




Php

Related
php object to array Code Example php object to array Code Example
wordpress loop permalink Code Example wordpress loop permalink Code Example
php reverse array Code Example php reverse array Code Example
laravel check if array is empty Code Example laravel check if array is empty Code Example
try and catch laravel Code Example try and catch laravel Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7