Re: Strange counter behavior

From: Date: Mon, 05 Jan 2004 17:30:14 +0000
Subject: Re: Strange counter behavior
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-173768@lists.php.net to get a copy of this message
On Saturday 03 January 2004 14:47, Cesar Aracena wrote: > I know most of you doesn't have the time() for this kind of things, but I > have a problem with this beautifull counter script I found on hotscripts. I > read it over and over again but I can't find where the problem is. As the > code is way too long to write (several .php pages) I uploaded it to > http://www.icaam.com.ar/files/ep-dev-counter-3.41.zip. if > anyone would be > so kind to download it and take a look at it... you may even find it > usefull. The problem is that the last counter showed displays a number one > (1) after it, so my total visitors show 11, 21, 31, 41... instead of just > 1, 2, 3, 4... Check each statement for functions that produce output -- commonly echo() and print, but can include stuff like passthru() & fpassthru() etc. Check for stray HTML. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Avec! */

« previous php.general (#173768) next »