How to extract a specific index?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

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 )


Re: How to extract a specific index?

Quoted text here. Click to load it

Please ignore this thread. Now, I know how.


Site Timeline