Reply to Re: [PHP] image handling

Your name:

Reply:


Posted by Justin Gruenberg on 04/16/05 22:18

On 4/16/05, Dasmeet Singh <singhdasmeet@gmail.com> wrote:
> I have a form on my website that allows users to upload photographs..
>
> 1. How to find out the file type they are uploading..like jpeg or png or
> gif?
>
> 2. Also is there any way to find out size and resolution of the image?

http://us3.php.net/manual/en/function.getimagesize.php

You can use getimagesize to get the size and type of the image as well
as some other information possibly usefull information.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация