Thread
:
Detecting binary image types with PHP . . possible?
View Single Post
02-16-2005, 10:35 AM
#
7
(
permalink
)
jpwjpw
Registered User
Join Date: Feb 2005
Posts: 1
try this:
$filetype = explode("/",$_FILES['filename']['type']);
This returns the file format like 'image/jpeg' in an array split by the /(i.e.
$filetype[0] = image
$filetype[1] = jpeg
jpwjpw
View Public Profile
Find More Posts by jpwjpw