Connecting Tech Pros Worldwide Help | Site Map

How to extract a specific index?

  #1  
Old March 24th, 2008, 10:45 PM
amit
Guest
 
Posts: n/a

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.

  #2  
Old March 24th, 2008, 11:35 PM
amit
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Extract/Fetch HTML source code from another website? zerodevice answers 2 June 23rd, 2007 03:24 PM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 0 November 14th, 2005 03:55 PM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 5 November 14th, 2005 12:36 PM
How to extract bytes from long? RB answers 44 November 13th, 2005 09:40 PM