Gcounter
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
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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
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
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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Hmmm, I probably transferred it to server in ASCII mode
Try now, should work ok, I just tested it.

Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Thx so much
I think you're doing a great job with your PHPJunkYard -- your gcount helped me so much!!!