Connecting Tech Pros Worldwide Help | Site Map

How to extract a specific index?

amit
Guest
 
Posts: n/a
#1: Mar 24 '08

I'm learning how to upload in PHP and for security reason I'm checking
file mime when it is uploaded. Now how can I get access to the mime
part. I can get the details using a foreach loop but don't know how to
get the mime part.

Array ( [0] =280 [1] =184 [2] =2 [3] =width="280"
height="184" [bits] =8 [channels] =3 [mime] =image/jpeg )

Thanks.

amit
Guest
 
Posts: n/a
#2: Mar 24 '08

re: How to extract a specific index?


On Mar 24, 2:37*pm, amit <amit.ko...@gmail.comwrote:
Quote:
I'm learning how to upload in PHP and for security reason I'm checking
file mime when it is uploaded. Now how can I get access to the mime
part. I can get the details using a foreach loop but don't know how to
get the mime part.
>
Array ( [0] =280 [1] =184 [2] =2 [3] =width="280"
height="184" [bits] =8 [channels] =3 [mime] =image/jpeg )
>
Thanks.

Please ignore this thread. Now, I know how.

Thanks.
Closed Thread