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]