Looking to Hire a Programmer

Discussion in 'Programming' started by RobPinnacle, Apr 13, 2008.

  1. #1
    I'm looking for a programmer to make a conversion tracker for a small ad agency of mine. Below is the current code we use, its written in PHP but it only works 40-50% of the time. I'm wondering if there's a different way to do it.

    We've also tried tracking IP's the problem is server strain. If someone can come up with a better idea, please PM me with your msn/aim and payment details.

    We've tried doing it by ip. The problem is that query's our DB every time someone signs up to some VERY large games. We need to find a different
    solution that is not so server intensive.

    
    <?
    
    
    /*
    	This two line code segment is how the cookie is placed on the out.banner page, containing three variable used for updating the database later
    	
    
    	$cokee="{$global_owner}x{$global_publisher}x{$banner['ad_id']}";
    	setcookie ("aygc",$cokee,time()+259200,"/",".advertiseyourgame.com",false,false);
    
    
    
    */
    
    
    //The following is the PHP page which is called at conversion
    
    if($_COOKIE['aygc'])
    {
    
    	$global_day = date("j");
    	$global_month = date("F");
    	$global_year = date("Y");
    
    
    	$global_ipaddress = ($_SERVER['HTTP_X_FORWARDED_FOR'])
    		    ?  $_SERVER['HTTP_X_FORWARDED_FOR']
    		    :  $_SERVER['REMOTE_ADDR'];
    
    	$detail = split("x", $_COOKIE['aygc']);
    
    	mysql_query("INSERT INTO conversions VALUES ('', unix_timestamp(),'$detail[0]', '$detail[1]', '$detail[2]', '$global_ipaddress')");
    
    	mysql_query("UPDATE system_daily SET conversions=conversions+1 WHERE ID={$detail[0]} AND pub_id={$detail[1]} AND day='$global_day' AND month='$global_month' AND year='$global_year' AND type='pub'");
    	mysql_query("UPDATE system_daily SET conversions=conversions+1 WHERE pub_id={$detail[2]} AND day='$global_day' AND month='$global_month' AND year='$global_year' AND type='ad'");
    
    
    }
    
    
    ?>
    
    
    Code (markup):
     
    RobPinnacle, Apr 13, 2008 IP
  2. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #2
    I know the problem in this

    I can work on this page

    $50

    50% advance


    Regards

    Alex
     
    kmap, Apr 13, 2008 IP
  3. saurabhj

    saurabhj Banned

    Messages:
    3,459
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    I'll do it for 35$.. Payment on work done !! PM Me or post here in my thread

    Thanks,
     
    saurabhj, Apr 14, 2008 IP
  4. swishman

    swishman Well-Known Member

    Messages:
    1,264
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    140
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    plz provide you budget 4 this sir..
     
    swishman, Apr 14, 2008 IP
  5. RobPinnacle

    RobPinnacle Active Member

    Messages:
    423
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    Still looking for a solution to this problem. Please PM me with your msn's and quotes. I'm willing to spend whatever it takes to make this work.
     
    RobPinnacle, Apr 30, 2008 IP