string strtoupper
( string
Example:
$filename=$_FILES["fileToUpload"]["name"];
$ext = substr(strrchr($filename, "."), 1);
echo "<br>File Type is: ".strtoupper($ext);
$string
)Example:
$filename=$_FILES["fileToUpload"]["name"];
$ext = substr(strrchr($filename, "."), 1);
echo "<br>File Type is: ".strtoupper($ext);