Jump to content

File Upload with specify extension


seeya

Recommended Posts

hi,

 

$_FILES['userfile']['type']  can help you to find the type of file

 

NOTE: The mime type of the file, if the browser provided this information. An example would be "image/gif". This mime type is however not checked on the PHP side and therefore don't take its value for granted.

 

Regards

 

 

well you can google for file upload there is a very good article oon this on tizag i think.just googleit they have a nice article on it.

 

For more read

 

http://pear.php.net/package/MIME_Type/docs

 

this would be more helpful.But,first understand the basic file upload in PHP.

 

regards

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.