Let's say i have an image abc.gif and i renamed it in to abc.jpg,
but both
*echo $_FILES['imageupload']['type'];*
and
*echo mime_content_type($_FILES['imageupload']['type']);*
output "image/jpg".
How could i get the original extension which is .gif not .jpg
Please help.
No comments:
Post a Comment