Buying Nedd php coder - Easy $10

Discussion in 'Programming' started by CosmaWorks, Nov 26, 2010.

  1. #1
    Hello.

    I need a good php coder for a fast job related with php/mysql:

    I have a file sharing script, i need a code to when a user download a file, only count the unique ips downloads, i mean;

    Example: I press in the link of download, click in Download, now the php code check if my IP is already put in db "ips", if not, my ip is added in to IP db and the download count execute this code:

    mysql_query("UPDATE uploads SET downloads = downloads+1,
    				                        last_access = '".time()."' WHERE file_id = '".$file['file_id']."'");
    PHP:
    In this way i only need the system count the UNIQUE PER IPS downloads and each 24 hours delete the content of DB (all ips removed for start again).

    Send me a PM if you can do this job.

    Regards.
     
    CosmaWorks, Nov 26, 2010 IP
  2. CosmaWorks

    CosmaWorks Active Member

    Messages:
    205
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    As Seller:
    100% - 2
    As Buyer:
    100% - 2
    #2
    Thanks for all.

    The job is taken.

    Regards.
     
    CosmaWorks, Nov 26, 2010 IP