RE: [PHP] getimagesize question
| From: | Dundee \(Roland\) | Date: | Sat, 03 Feb 2001 20:54:57 +0000 |
| Subject: | RE: [PHP] getimagesize question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37997@lists.php.net to get a copy of this message | ||
To get the imagesize
$PictSize = GetImageSize ($file_image_path . $PictName);
$pictW = $PictSize[0];
$pictH = $PictSize[1];
-----Original Message-----
From: Website4S@aol.com [mailto:Website4S@aol.com]
Sent: Saturday, 3 February 2001 9:28 PM
To: php-general@lists.php.net
Subject: [PHP] getimagesize question
Hi,
I`m using the following to get the image size...
$size = getimagesize("$Frame");
My problem is $Frame can`t contain the full name of the image for various
reasons, so what I need to do is somehow add the rest, something along the
lines of this...
$size = getimagesize("$Frame'top.gif'");
If $Frame = Hello then the getimagesize would perform on Hellotop.gif but as
yet it isn`t working anyone have a suggestion? I have tried a few variations
such as
("$Frame" + "top.gif")
("$Frame\"top.gif\"")
($Frame"top.gif")
Thanks
Ade
--
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