My code is different than Jaxel's code... I chose to store not only the max users, but the time and date it occured. It's always the first line of "online.cgi" in the members directory. So, it's a lifetime total - not since server reboot.
I've also updated my addon script to use and display this information... but if you use Jaxel's code (for the max user count), it won't work with my script.
I chose to do it differently because I didn't want another file hanging around, and the way I coded it, it's slightly more efficient. It doesn't have to bother opening another file and checking... it does it all while logging someone.
Also, I'm not sure where Jaxel's code goes... but if it's in Ultimate.cgi, it could be inacurate, because it will only update the count when someone hits that page.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.