Page 1 of 1

Gcounter

Posted: Thu Jul 07, 2005 2:02 pm
by Staina
Is some way to display in gcount issue unlike 11 but as a 00011. Advise us how at it if it walks somehow I at it did not come. Thank you

Posted: Thu Jul 07, 2005 4:39 pm
by Klemen
Hi,

Try this:

1. open graphcount.php in a plain text editor, like Notepad or Wordpad

2. Find line 80. This is empty line just ABOVE the text
// Print out Javascript code and exit

3. Add this code to that empty line:

$count=sprintf("%05d",$count);

This will make sure the count number is at leasst 5 digits every time (00011). Change 5 to 7 if you want 7 digits: 0000011 and so on...

4. Save, upload, test

Regards

Posted: Fri Jul 08, 2005 1:04 pm
by staina
Hallo functions it, but picture with issue will display them to a last position on of others positions picture with issue no will display see picture Image

Posted: Fri Jul 08, 2005 2:08 pm
by Klemen
Hi,

You probably pasted that code in the wrong line, it works fine here:
http://www.phpjunkyard.com/gcount/test.htm

Try wth this file (don't forget to edit your website URL inside!)
http://www.phpjunkyard.com/extras/gcount_digits.zip

Regards

Posted: Fri Jul 08, 2005 2:45 pm
by staina
File gcount_digits.zip is damaged. You can again somewhere this file expose for download


Thank You

Posted: Fri Jul 08, 2005 3:27 pm
by Klemen
Hmmm, I probably transferred it to server in ASCII mode :) Try now, should work ok, I just tested it.

Posted: Fri Jul 08, 2005 7:05 pm
by staina
Already is it OKs. Thank you

Thx so much

Posted: Thu Oct 06, 2005 1:32 pm
by thomas
I think you're doing a great job with your PHPJunkYard -- your gcount helped me so much!!!