Jochem Maas wrote:
Andrew Senyshyn wrote:
Hi all,
I need to get local user IP, but server with apache and php is in
another subnetwork.
So from server environment I can get only router's IP.
The only solution that I see - is getting with some magic algorithm
local IP from brouser and sending it to server.
My application is for intranet, so I don't see any reason to make users
authorization.
Any ideas for this?
you can't always get the real users IP because of proxies, anonimizers, firewalls/gateways
[on the user end] (and don't bother using an IP as an absolute indicator when validating a
Wait, are you telling me that I can't auth my customers based on IP
alone? Great, now how do I let them view their sensitive data? ;)
session - you can use it as one of a number of metrics - for instance AOL users have their
IP addresses changed roughly every 300 milliseconds).
Gawd, AOL causes us so many headaches with that crap.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
jnichel@xxxxxxxxxxxxxxxxxxxxxxxxxxx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php