Re: Image Widths/Heights on Upload

From: Date: Sat, 20 Jan 2001 18:15:50 +0000
Subject: Re: Image Widths/Heights on Upload
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-35821@lists.php.net to get a copy of this message
http://www.php.net/manual/en/function.getimagesize.php Previously, Bryan Fritchie said: > When uploading a file, the built in functions let you get the filename, > size, type. If the file is an image, is it possible to also get the width > and height of the image? > > Right now we are giving input boxes for the user to enter the correct > values, but I'd rather that my code do it for them. That way I can prevent > images that are too wide, as well as not depend on the uploader being smart > enough to know what the dimensions are. > > Can anyone help me out? -- Dan Lowe <dan@tangledhelix.com> http://tangledhelix.com/ A computer without sendmail is like a dog without bricks tied to its head. - seen on the Exim users mailing list

« previous php.general (#35821) next »