note 61988 deleted from reserved.variables by sp
| From: | sp@php.net | Date: | Sun, 19 Feb 2006 23:17:18 +0000 |
| Subject: | note 61988 deleted from reserved.variables by sp | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-104036@lists.php.net to get a copy of this message | ||
Note Submitter: anything at the domain williamfrantz.com
----
"nospam at joot dot com" made a slick suggestion for automatically finding a
visitor's city/country. However, I would not recommend using such a technique because it
relies on a third-party database and service.
If the owners of api.hostip.info decided to be malicious, they could insert spam into your forms by
returning advertisements instead of city names. They could even do it on an IP by IP basis so you
might not be aware it was happening. You can't test for it.