Connecting Tech Pros Worldwide Help | Site Map

How to extract a specific index?

 
LinkBack Thread Tools Search this Thread
  #1  
Old March 24th, 2008, 09:45 PM
amit
Guest
 
Posts: n/a
Default How to extract a specific index?


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, 10:35 PM
amit
Guest
 
Posts: n/a
Default 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.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.