Follow us on Twitter!
Society leans ever heavily on computers, if you have the power to take out computers you can take out society. - cubeman372
Saturday, April 19, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 24
Guests Online: 23
Members Online: 1

Registered Members: 82835
Newest Member: phanton2043
Latest Articles
View Thread

HellBound Hackers | Computer General | Webmasters Lounge

Author

Backwards Hit Counter?


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 26-05-07 18:35
Hey, I've tried a few ways of making my hit counters go backwards starting from 50,000 and going down each time the site gets a hit, but I can't really get anything to go right. I've mainly just been playing around with a basic hit counter code in php and javascript.
Thank you all in advance.
Any thoughts please? =D


Author

RE: Backwards Hit Counter?

spyware
Member



Posts: 4192
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 26-05-07 18:36
First thought: post your code (use [code] tags and switch off smilies).



img507.imageshack.us/img507/3580/spynewsig3il1.png
"The chowner of property." - Zeph
[small]
Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
[/s
http://bitsofspy.net
Author

RE: Backwards Hit Counter?


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 26-05-07 18:38
[?php
$count_my_page = ("hitcounter.txt");
$hits = file($count_my_page);
$hits[50017] --;
$fp = fopen($count_my_page , "w");
fputs($fp , "$hits[50017]");
fclose($fp);
echo $hits[50017];
?]

alright, this is the php i tried.


Author

RE: Backwards Hit Counter?

spyware
Member



Posts: 4192
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 26-05-07 18:40
Okay read this: http://www.steved. . .le0007.php

If you follow those steps, and modify the code a little bit (2 chars need modification to be exact), you'll get your counter.

If there are problems, post them here.



img507.imageshack.us/img507/3580/spynewsig3il1.png
"The chowner of property." - Zeph
[small]
Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
[/s

Edited by spyware on 26-05-07 18:41
http://bitsofspy.net
Author

RE: Backwards Hit Counter?


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 26-05-07 18:42
Thank you, man =D


Author

RE: Backwards Hit Counter?


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 26-05-07 18:49
Thank you, I got it to work perfectly ^^


Author

RE: Backwards Hit Counter?


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 26-05-07 18:51
Thank you, I got it to work perfectly ^^