Results 1 to 4 of 4

Thread: Hi, dody, the hot.php should limited hits per day!!!

  1. #1
    Join Date
    Aug 2001
    Location
    Leicester, UK
    Posts
    2

    Unhappy Hi, dody, the hot.php should limited hits per day!!!

    Hi, dody, I think you should limited the hits per day from one IP, for example: a guy submit a link to my site, then he click the link too many times in a hour, so his link will fly to my hot.php easily, I just want to add a function which could let him click many times, but the hits of the link just record "one" per day. This is the same with some poll functions.

  2. #2
    Join Date
    Aug 2001
    Posts
    1

    Default

    If you have heard some time something about phpmyAdmin, so you have to concede that your request is unnecessary.

  3. #3
    Join Date
    Aug 2001
    Location
    Leicester, UK
    Posts
    2

    Default the problem is...

    the problem is that I do not understand phpmyadmin, so please tell me the steps, thank you.

  4. #4
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    I think lihongjun is right. We'll consider it in next release. If you can't wait
    you can hack the code. Here's some goide:

    1. create a table that will log user hits, ex: user_hits (link_id, ip, date)
    2. hack go.php, compare the user ip and link_id with the value in user_hits at that day
    3. if exist, do not increase the hits value
    4. if not, increase hits value and write log in user_hits
    5. you should create script that delete values in user_hits that has been expired
    (you should remove the garbage)

Similar Threads

  1. order by rating, hits, etc. hack.
    By scheetz in forum Blocks and Modification
    Replies: 28
    Last Post: 07-09-2006, 07:58 AM
  2. Replies: 7
    Last Post: 01-04-2004, 08:19 AM
  3. Replies: 0
    Last Post: 05-27-2003, 04:45 PM
  4. hits
    By vakil in forum v3.2
    Replies: 1
    Last Post: 09-04-2002, 03:10 PM
  5. hot.php
    By Hart_House in forum v5.x
    Replies: 1
    Last Post: 04-03-2002, 07:22 PM

Posting Permissions

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