Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder
    Join Date
    Dec 2005
    Posts
    149
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Fake but real counter?

    Hello Guys,

    I am looking for a script which is realistic but fake hit counter, what i need to know if this is possible or not, for example if one user comes it shows less than 200 number, for example 198,185 etc etc, but when the same IP keeps refreshing every min or two i dont want the number to move up or down, but after 5min it does.

    Any chance of that?
    THank you
    Tomorrow Could Be Your Day

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Yes...


    But we aren't going to just code it for you. If you want something like coded for you then perhaps you should consider hiring someone.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    Regular Coder
    Join Date
    Dec 2005
    Posts
    149
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Hello,

    No problem , i just need to know how or what idea i should follow to it work,

    I have this forum.

    http://www.trap17.com/forums/Php-Gue...pt-t59618.html

    But i dont know how to stop the number to go above 200 and to refresh every 5~10min rather than every time hitting F5.

    Thank you for your help.

    Have a good day
    Tomorrow Could Be Your Day

  • #4
    Regular Coder
    Join Date
    Dec 2005
    Posts
    149
    Thanks
    12
    Thanked 0 Times in 0 Posts
    I have also found this,

    http://www.jamiebicknell.com/blog/11...Counter-in-PHP

    any way of getting this to convert to online?

    Thank you
    Tomorrow Could Be Your Day

  • #5
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    Just pop it in where you want the counter to show up. The echo statement will write the number out to the page.

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #6
    Regular Coder
    Join Date
    Dec 2005
    Posts
    149
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Hello,

    thank you for your reply, can you show me how i can set a limit of not reaching above 200? and to add 1 or minus 2 after 3min?

    THank you
    Tomorrow Could Be Your Day

  • #7
    Regular Coder
    Join Date
    Dec 2005
    Posts
    149
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Hello,

    I have also found this, but i dont want it to up by 1, i want it to go up by 1,2,3,4,5.

    http://www.doheth.co.uk/codelair/php-mysql/hit-counter

    Any help will be apericiated.

    Thank you
    Tomorrow Could Be Your Day

  • #8
    Regular Coder
    Join Date
    Dec 2005
    Posts
    149
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Hello,

    I have found this script.

    http://fungameplayer.com/randomnumber.php

    How can i do it so that the number doesnt refresh untill its been 2min?

    Thank you
    Tomorrow Could Be Your Day


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •