string strtoupper ( string $string )

Example:

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

0 comments:

Blog Archive

Total Pageviews

Popular Posts