View Single Post
Old 08-18-2008, 12:38 PM  
Aric
Confirmed User
 
Aric's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 1,209
Quote:
if ($type == "image/jpeg")
|| ($type == "image/jpg")
|| ($type == "image/gif")
|| ($type == "image/psd")
|| ($type == "image/tiff")
|| ($type == "image/bmp")
It's a bracketing problem.

if ($type == "image/jpeg"
|| $type == "image/jpg"
|| $type == "image/gif"
|| $type == "image/psd"
|| $type == "image/tiff"
|| $type == "image/bmp")
__________________
Awesome cloud hosting by DigitalOcean
Aric is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote