RE: [PHP] getimagesize question

2001-02-04 Thread PHPBeginner.com

$size = getimagesize($Frame."top.gif");

I think you should read this :
http://www.zend.com/zend/tut/using-strings.php


Sincerely,

 Maxim Maletsky
 Founder, Chief Developer

 PHPBeginner.com (Where PHP Begins)
 [EMAIL PROTECTED]
 www.phpbeginner.com


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 04, 2001 5:28 AM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] getimagesize question

2001-02-03 Thread Website4S

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] getimagesize question

2001-02-03 Thread Dundee \(Roland\)

To get the imagesize

$PictSize = GetImageSize ($file_image_path . $PictName);
$pictW = $PictSize[0];
$pictH = $PictSize[1];



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 3 February 2001 9:28 PM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] getimagesize question

2001-02-03 Thread Tom Meininger

Hi Ade,

To combine strings, you simply use a period.  For example:

$image = $frame . "top.gif";

If $frame is "hello", then $image will come out as "hellotop.gif".

Hope that helped...

Regards,

Tom
_
Tomeeboy.com - Your place for the best stuff on the net!
Visit http://www.tomeeboy.com today!


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, February 03, 2001 3:27 PM
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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] getimagesize question

2001-02-03 Thread Website4S

Tom,

Thanks for that, worked a treat.

Ade

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]