Re: getting the width and height of a images

From: Date: Thu, 27 Jul 2000 11:31:48 +0000
Subject: Re: getting the width and height of a images
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-8530@lists.php.net to get a copy of this message
thanks , it's working now, ( and dan , I needed them for knowing the size of a popup that can show the image in real size) ""Jeroen Olthof"" <webmaster@smurf.eu.org> schreef in bericht news:8lns3n$agt$1@toye.php.net... > hi, > > for those who awserd my other question about creating a images. thanks , > that works now. (I should have looked better in the big manual,cause it is > there. I didn't know that fopen try's to create the file if it is not yet > there.) > > but here is the new problem, And I hope I look the manual hard enough so > that nobody can say, "look the manual there and there". > > I'm using <input type=file .... the let a user upload a picture. when > submitting the form I check the size and the file type(since I only want gif > or jpg) > this is working all fine. But I want to write the height en width in the > database table as well as the size and the file name I gave it. > > the variable come with a <input type=file name=picture_data> are automaticly > picture_data_name > picture_data_size > picture_data_type > > once I found a array where the width and height where in, but I don't know > what it was : (. > > so I need to know the picture width and height so I can store this > information in a database. > who can fresh up my memory? > > kind regards > Jeroen Olthof > (from holland) > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#8530) next »