Subject: [OT] Re: [linux-audio-user] debian, 2.4x, alsa-0.9.0beta12, ymfpci HOWDID
From: Jörn Nettingsmeier (nettings_AT_folkwang-hochschule.de)
Date: Wed Mar 13 2002 - 12:56:05 EET
Steve Harris wrote:
> On Tue, Mar 12, 2002 at 11:09:24 +0100, Jörn Nettingsmeier wrote:
> > Patrick Shirkey wrote:
> > >
> > > While we're talking about the quicktoots page. Is anyone interested in helping me set up the code (php?) for tracking the number of people reading each toot. I think it would be good to provide that info so people can get an idea of how popular some programs are.
> > don't do it with php and counter files. i'm doing that on the lad
> > pages, and it sucks. it randomly resets every once in a while -
> > there seem to be spurious collisions.
> Are you using flock (http://uk.php.net/manual/en/function.flock.php)?
sorry, forgot about that. the php engine on linuxdj.com is so
f&%$ing ancient that it does not have this function :(
> > so you would rather want to parse the server logs, which should not
> > be too difficult in php when you know what you're looking for.
> I wouldn't do that. I don't know how busy the website is, but on my main
> site the daily logs are > 50meg. You don't want to parse them more than
> you have to.
agreed. so make that a cronjob instead.
-- Computer Science is no more about computers than astronomy is about telescopes. - Edsger W. Dijkstra Sigh. - me
This archive was generated by hypermail 2b28 : Wed Mar 13 2002 - 12:46:10 EET