Re: PHP form processing
| From: | Matthew Weier O'Phinney | Date: | Tue, 01 Mar 2005 03:46:02 +0000 |
| Subject: | Re: PHP form processing | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-38715@lists.php.net to get a copy of this message | ||
* Martin Norland <martin.norland@stjude.org>:
> Ron Piggott wrote:
>> Is there a way to find out the IP address of the computer submitting a
>> form --- other than through a cookie. Is there a header command or
>> something like this? Ron
>
> Response:
> rtfm / wrong list
>
> Answer:
> for Apache, $_SERVER['REMOTE_ADDR'];
This is NOT reliable -- many people surf behind their ISP's or company's
proxy server -- which means that all people (sometimes thousands, or, in
AOL's case, millions) behind that proxy will have the same IP address.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto:matthew@garden.org | http://vermontbotanical.org