note 61988 added to reserved.variables

From: Date: Thu, 16 Feb 2006 19:58:20 +0000
Subject: note 61988 added to reserved.variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-103858@lists.php.net to get a copy of this message
"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. ---- Server IP: 216.194.113.175 Probable Submitter: 64.154.93.1 ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+61988 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61988&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61988&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61988&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61988&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61988&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61988&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61988&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+61988&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#103858) next »