On Wed, 1 Sep 2004 13:28:24 -0400
 "John Holmes" <[EMAIL PROTECTED]> wrote:
From: "Btew" <[EMAIL PROTECTED]>

I need a php server side image map script. Or rather a script that
will examine x,y coords and determine if they could fall within any of a number of area polygon or rect tags.

<input type="image" name="myimage" src="map.jpg">

Then you'll have $_REQUEST['myimage_x'] and $_REQUEST['myimage_y'] as the coordinates that the user clicked.

---John Holmes...

I tried using form input tags with client side image maps. Unfortunately that doesn't work. The browser only returns the x,y coords. I need a script that can take those coords and compare against standard polygon and rect <area> tags. The rect tags I could write a script to parse myself, but the polygon tags are giving me trouble. I can't use plain img tags with usmap attributes, because the user can't be able to see the final URL. So what I essentially need is a PHP client side image map script, because the final data will go to other PHP scripts.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to