İptal Edildi

PHP Simple Referral Tracking Problem

I currenty have a php tracking script that is tracking incorrectly. It uses mysql to track.

Currently It tracks only traffic from [url removed, login to view]

I need it to track all traffic from [url removed, login to view]

//Sample of the code where i belive the error exists//

<?php

include_once("config.php");

preg_match('@^(?:https?://)?([^/]+)@i',$script_url,$matches);

preg_match('/[^.]+.[^.]+$/',$matches[1],$matches);

$script_domain=$matches[0];

preg_match('@^(?:https?://)?([^/]+)@i',$_SERVER['HTTP_REFERER'],$matches);

preg_match('/[^.]+.[^.]+$/',$matches[1],$matches);

$referrer=$matches[0];

if($script_domain!=$referrer AND $referrer!="" AND !preg_match("!$block_referrers!i",$_SERVER['HTTP_REFERER']))

{

$result=mysql_query("SELECT url,i_ip FROM babeloggerv3_submit_ratio WHERE url='$referrer' AND i_ip='".getenv('REMOTE_ADDR')."'");

$ip_exists=mysql_num_rows($result);

if(!$ip_exists){mysql_query("INSERT INTO babeloggerv3_submit_ratio (time,url,i_ip) VALUES ('".time()."','$referrer','".getenv('REMOTE_ADDR')."')");}

}

?>

//

Im sure its a real small issue perhaps 10-15$ would be enough?

Anyway I appreciate your bids, I will pay via paypal or escrow from GAF after completion. Thanks

Beceriler: PHP

Daha fazlasını gör: php tracking refferer, www referral code, www escrow it, where is escrow, sample of bids, referral code, pay php, escrow referral, escrow com via paypal, com problem, php referral tracking code, ifscript_domain referrer referrer, paypal referral tracking, php referral tracking, pay via escrow, escrow com paypal, tracking, time-tracking, PHP simple, error php, belive, tracking php code, traffic referral, script referrer, https quot

İşveren Hakkında:
( 42 değerlendirme ) Austin, United States

Proje NO: #121991

Bu iş için 4 freelancer ortalamada $30 teklif veriyor

TakeReal

I can update script to all traffic from [login to view URL] I can start today.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(1252 Değerlendirme)
7.5
tlchung

let start now

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(35 Değerlendirme)
6.7
djken

please see pmb

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(37 Değerlendirme)
4.5
sitesound

$20 is actual bid. Fast turn around.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(2 Değerlendirme)
4.2