PDA

View Full Version : Habbox's Hit Counter ?



iRoss
09-04-2005, 09:01 AM
HABBOX! Where did you get that funky looking hit counter, i have 1 but if i remove the ad's it gets removed, where can i get 1 like habbox's without ads? cpanel? HELP!

splintercell!
09-04-2005, 09:07 AM
Try using the CGI Center im pretty sure they got it from there (on cpanel!)
after looking at it Ive noticed its a simple php one so use this..
Just create two files. Counter.php and counter.txt and in counter.php add this code:

<?php
$viewss = file("counter.txt");
$views = $viewss[0]; $views++;
$fp = fopen("counter.txt", "w");
fwrite($fp, $views);
fclose($fp);
print $views;
?>

and then to add it to your page use:
<?
include("counter.php");
?>
and save the page as .php
also CHmod counter.txt to 777 :)

iRoss
09-04-2005, 09:33 AM
Okay, i will do that now :) Nope. Habbox's 1 isn't in cpanel they are all really BIG and BULKY in cpanel :'(

scottish
09-04-2005, 09:36 AM
Habbox Dont Use Cpanel's I Dont Know What They Use :s

splintercell!
09-04-2005, 10:26 AM
they do...

scottish
09-04-2005, 10:27 AM
no They Dont..

splintercell!
09-04-2005, 10:31 AM
www.habbox.com/cpanel :) that kinda proves it :|

scottish
09-04-2005, 10:33 AM
So, Thats Nothing To Do With it.. ill Post Convo From Ezzie *Snapshop web Designer*

Scott says:
Habbox's hit Counter..
Scott says:
On Homepage..
Scott says:
:|
[Ezzie] says:
yeh???
[Ezzie] says:
what bouts it
Scott says:
is it from cPanel?
[Ezzie] says:
no
[Ezzie] says:
we make everything outselves :P

Wizzdom
09-04-2005, 10:34 AM
what is cpanel?????web host or something?

scottish
09-04-2005, 10:35 AM
Cpanel Is The control Panel Of The Site :p

splintercell!
09-04-2005, 10:37 AM
j00 fool "/ they USE cpanel for hosting but I expalined that they made it using php Read the thread..

JackHb: Do not be rude to other forum members!

iRoss
09-04-2005, 10:50 AM
i thought u ment they got the counter from CPANELS cgi-center :-z JOO F00'

jamie5k
09-04-2005, 11:15 AM
its not cpanel its php easy to make ask me ross and ill tell u.

scottish
09-04-2005, 11:22 AM
Splinter "J00 f00l" You Said They Use cPanel For The Counter :\

splintercell!
09-04-2005, 11:26 AM
originally because they used to.. but they have made a new one. :|

scottish
09-04-2005, 11:33 AM
No They've Had That For about 1 Year :\

ignitionhost
09-04-2005, 12:18 PM
I'm guessing habbox made it themselves? I've doen some reasearch on google, and i can't find anything too similar. But you just get the code that shows online etc. then add it somehow* (* don't know though) add it to an image

Mentor
09-04-2005, 12:26 PM
I'm guessing habbox made it themselves? I've doen some reasearch on google, and i can't find anything too similar. But you just get the code that shows online etc. then add it somehow* (* don't know though) add it to an image
you just run a slip the number in to a arrya and run a preg replace on the numbers to make them images.


users online usaly use a ip, and time, and then counst the ips where the times not over a ceratin amount and deleats the old ones.

hit counter just keeps adding to a number. the habbox ones are just numbers, athogh teh users onlien is on top of an image

scottish
09-04-2005, 12:29 PM
yeh ing They Did Make It Themselfs..

Want to hide these adverts? Register an account for free!