url = trim($exp[0]); $obj->email = trim($exp[1]); $referrals_array[] = $obj; } $pos = strpos($refstr,"/",7) + 0; $pos2 = strpos($refstr,"?") + 0; if (!$pos) $pos += 10000; if (!$pos2) $pos2 += 10000; $edge = min($pos, $pos2); $url = trim(substr($refstr, 7, $edge-7)); foreach ($referrals_array as $ref_obj) if ($ref_obj->url == $url) { $_SESSION[REFER] = $url; $_SESSION[EMREF] = $ref_obj->email; } } // --- ?> Antiqua Dimora
P.IVA: 03157160544