Обсуждение: A client_ip() function?

Поиск
Список
Период
Сортировка

A client_ip() function?

От
Andrei Gaponenko
Дата:
Hi,

Is there a function which provides the IP address of
the client on the current connection?

When logging a modification to a database I can use
the "session_user" function to retrieve the username.
A natural thing would be to log the client's IP as
well.
Any suggestions?  I am running 7.2.3.

Thanks,
Andrei



__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com