|
Posted by Benjamin Esham on 07/23/06 14:34
walterbyrd wrote:
> I am working on a timecard app. When somebody logs in, it stamps his/her
> time.
>
> Problem is, I have to make sure that somebody is not logging in from a
> remote site. I want all the logins from one particular, on site, system.
>
> The app is part of another system, which is ran online. It's not a local
> intranet, or anything.
>
> I am wondering if there is something unique I can create on the on-site
> system, which can be checked form the remote system, to insure the
> employee logs into *that* system.
http://us3.php.net/reserved.variables
Take a look at REMOTE_ADDR and REMOTE_HOST.
HTH,
--
Benjamin D. Esham
bdesham@gmail.com | AIM: bdesham128 | Jabber: same as e-mail
Ceci n'est pas une sig.
[Back to original message]
|