EZstatz Integrated Website Statistics & Logging - Beta 
Home
Contact us
Implementation Notes and Advice

  1. You can log the browser (user_agent) of the user just use "$_SERVER['HTTP_USER_AGENT']".

  2. You can put a basic counter in each script or program. It's a good idea to use the script name as the "code". And it's better to put the call to ezstatz() at the end of the script than the beginning.

  3. You can get the name of the script as a variable - use script_name(0 or 1). Option 0 gives you the enitre script name, option 1 omits the extension.

  4. You can print the log entry as you make it, use pr_ezstatz() instead of ezstatz(). This is not something you would do in a screen page program, but it's useful in a chron job or a crawler.

<> Home <> FAQ <> Contact Us <>