OH> a few weeks ago. But It's easy to check nevertheless. edit_ip_x and OH> edit_ip_y are passed reliably. So just do OH> if(is_set($_REQUEST["edit_ip_x"])) OH> //Do stuff
Rather, do: if(isset($_REQUEST["edit_ip_x"]))
Don't use is_set(). You'll get: Fatal error: Call to undefined function: is_set()
The value of "edit_ip_x" will not be set unless the image is clicked on, so you can be sure that this is reliable, as Oliver mentioned.
-- Regards, Ben Ramsey http://benramsey.com
--------------------------------------------------- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. ---------------------------------------------------
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php