Re: getimagesize question

From: Date: Sat, 03 Feb 2001 21:09:56 +0000
Subject: Re: getimagesize question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38002@lists.php.net to get a copy of this message
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: <Website4S@aol.com> To: <php-general@lists.php.net> 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: 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 (#38002) next »