Re: other browsers
| From: | Ben Ramsey | Date: | Mon, 07 Jun 2004 16:34:56 +0000 |
| Subject: | Re: other browsers | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187804@lists.php.net to get a copy of this message | ||
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.
---------------------------------------------------