Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NewbieNetwork, Site Users, and Tuning Apache
Apr 29, 2002 @ 12:17:59

Well, if you haven't noticed already (or didn't visit the site over the weekened - shame on you), the NewbieNetwork has moved over to their new layout and look. I've heard lots of comments on the new layout, including that it looks more "Unix-ish" than anyhting. Maybe it's the light black borders and button highlights.....Anyway, if you haven't gotten a chance to, check it out, and be sure to drop by the PHPDN forums and leave your comments on what you think of it!

Also new today is an article over on DevArticles.com that talks about Finding How Many Users Are On Your Site With PHP. I'm not exactly sure why people find this important, as the whole point of webstats is to see who's been visiting your site - but I suppose if you want a "xxx curtrent users online" kind of thing, then this article's the one for you. They use a MySQL backend to keep track of the current users (so you don't have to keep writing to a text file and all), and they define the users by their IP addresses. Since HTTP is "stateless" (there is no definite start and finish to a session), it's not a very accurate way to do it, but, then again, there really isn't a good way to do it. They give you all the code and the DB structure so that, hopefully, all you have to do is plug it in and go.

And, last but not least, given how many out there use Apache as a webserver, this article from Builder.com should be a must read. In Five tips for configuring Apache they give a few quick ideas on helping you get the most out of your Apache webserver. Simple things like KeepAliveTimeouts and SSL session caches that can help get your Apache instance closer and closer to that perfect balance of memory and processor usage.

tagged:

Link:


Trending Topics: