Answers for "file format image extension in php"

PHP
2

get image extension in php

//get image extension of uploaded file in php
$imagetype = $_FILES['image']['name'];
$ext = pathinfo($imagetype, PATHINFO_EXTENSION);// get file extension
Posted by: Guest on October-19-2020
0

php file extension

$ext=pathinfo($file, PATHINFO_EXTENSION);
Posted by: Guest on October-09-2021

Browse Popular Code Answers by Language