Subject Re: [firebird-php] Identifying source machine
Author Lester Caine
> if the client machines have their own ip adresses the $variables
> $_SERVER['REMOTE_ADDR'] and/or $_SERVER['HTTP_X_FORWARDED_FOR'] could be
> usefull.

$_SERVER['REMOTE_ADDR'] was what I was looking for. It's
amazing how these things 'hide' themselves when you are
looking too hard.

The IP address changing is not a problem, I just use
gethostbyaddr(), but I expect to be using a fixed HOSTS
table anyway.

As an aside. There is $_SERVER and $HTTP_SERVER_VAR
Any idea which is the preferred name for ongoing code?

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services