Re: log.

From: Date: Fri, 23 Jul 2004 10:29:20 +0000
Subject: Re: log.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-191625@lists.php.net to get a copy of this message
Hi Ulitin, When a user visits your page, you can create a session. This session will identify the user throughout his visit. Most people tend to log all actions to an IP address, or a hostname, this is probably easier. To get the IP, browser, referer, etc, look at: http://aidan.dotgeek.org/lib/?file=Visitor.php http://pear.php.net/package/Net_UserAgent_Detect Hope that helps (ps. your english was fantastic :p) Regads, Aidan "Ulitin S.S." <pill@wenses.ru> wrote in message news:20040723082824.63713.qmail@pb1.pair.com... > I am learning php. > I need to log all actions on my page. (like ip, browser, time, pages etc). > question is: how can i identify a user and when he is on my page(s) to log > all his actions. > > > p.s. sorry for my english.

« previous php.general (#191625) next »