View Single Post
Old 02-04-2005, 10:16 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
i dont understand. you already have the file type there. do you mean when you initially insert the file into the database?

if you do mean when you initially insert the file, check out: getimagesize()

that returns the dimensions along with the file type of the image.
__________________
Mike
sde is offline   Reply With Quote