From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E1kbq-0000P6-Rg for garchives@archives.gentoo.org; Sun, 07 Aug 2005 12:50:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j77Cnbla001254; Sun, 7 Aug 2005 12:49:37 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j77Cjx3X001272 for ; Sun, 7 Aug 2005 12:46:00 GMT Received: by wproxy.gmail.com with SMTP id i23so960413wra for ; Sun, 07 Aug 2005 05:46:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UrvM219rYCzqB/Xi2HdCb/NlLXk/p2LsYLskTRiXYrxwvilpwvLXT8p18s59viLv0eDiWnkTnbiWVYYjx4j7id9ivDiuUjdVq0neMoI3S+08zBhEdhiZBmV8mxs2/3TLI49ynWzPqjJWc0KU6Cv6N9TWJRRTEbd6NpMahneTHoI= Received: by 10.54.33.17 with SMTP id g17mr2571001wrg; Sun, 07 Aug 2005 05:46:05 -0700 (PDT) Received: by 10.54.32.56 with HTTP; Sun, 7 Aug 2005 05:46:05 -0700 (PDT) Message-ID: Date: Sun, 7 Aug 2005 20:46:05 +0800 From: glumtail To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [OT] recomendations for web stats in php In-Reply-To: <20050807134000.7c712c59.hilse@web.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <42F4D8A2.9040603@gmx.net> <20050807134000.7c712c59.hilse@web.de> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j77Cjx3X001272 X-Archives-Salt: ea3b1719-fb9b-4864-9049-0a2fea86c283 X-Archives-Hash: 027b4d2bc3756c75d82c1b8f19ad2af9 Hi: Why not write a GLOBAL script for collecting some usefull information? And then just be included in every pages, store records in a particular file. 2005/8/7, Hans-Werner Hilse : > Hi, > > On Sat, 06 Aug 2005 12:34:58 -0300 > Mauro Faccenda wrote: > > > I have an customer that has a website hosted in a chrooted environment > > and want a stats page (hits, origin, etc...) I have access to the apache > > logs but I don't have a shell access, so I was thinking if there is any > > php script that reads the log file and plots a nice web page with those > > stats. > > > > Or can anyone suggest another solution? > > Hm, I don't think using a simple php script would work very reliably. > Parsing the log files can become a heavy task depending on the > logfile's size. So I think it's always the best solution to run the > analyzer from command line. > > You could e.g. run the analyzer on a different host where you have > command line access and can run that scripted every night. The > resulting stats pages and graphs can then be synced back to the web- > only server. > > Another possibility would be to use desktop programs for the logfile > analysis. I don't know of good free programs here, but at least there > are a few very professional commercial ones. > > Both solutions only require access to the logfile which you told you > have. > > -hwh > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list