Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old March 24th, 2008, 10: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, 11: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

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 network members.
Post your question now . . .
It's fast and it's free

Popular Articles