Re: image button troubles

From: Date: Tue, 03 Jul 2001 23:52:55 +0000
Subject: Re: image button troubles
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-56083@lists.php.net to get a copy of this message
I had a similar problem a while back that I solved by isolating my variables. Such as: <?php echo "x = " . $mapclick_x . "and y = " . $mapclick_y . ""; ?> As for why it's happening, I'm not sure. --kurt ----- Original Message ----- From: <zerosumzero@yahoo.com> To: <php-general@lists.php.net> Sent: Tuesday, July 03, 1979 4:25 PM Subject: [PHP] image button troubles QUESTION 1 I'm working on a form that reads where the user clicks on an image using: <?php echo "x = $mapclick_x and y = $mapclick_y"; ?> where the map has name="mapclick" I get this as output: Location is x = 94 and y =Ê36 What is that strange "e" thing? QUESTION 2 I want to check how large the image is, so I tried this: $test = GetImageSize ("$maploc"); echo $test[3]; (it's a jpg, and $maploc is any URL) But I get this error: Warning: Unable to open http://www.php.net/gifs/php_logo.gif in /usr/local/plesk/apache/vhosts/futurebird.com/httpdocs/mapbuild/addloc.php3 I'm running php version 4.0.3pl1 I've also been unable to get any other image funtions to work (various errors) I'll keep trying things but any help would be greatly appriciated. Thanks, Susan http://futurebird.diaryland.com -- 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 (#56083) next »