0) //if it hasn't, record arrival data
{
if(isset($_SERVER['HTTP_REFERER'])) { //if there is a referrer
$refer = $_SERVER['HTTP_REFERER']; //get the referrer
}
if(isset($_SERVER['HTTP_USER_AGENT'])) { //if there is a useragent
$agent = $_SERVER['HTTP_USER_AGENT']; //get the useragent
}
$ip=$_SERVER['REMOTE_ADDR'];
$sql = "INSERT into `site_arrivals`(`asid`,`sessionid`,`date_only`,`site_id`,`http_referrer`,`user_agent`,`is_testing`,`ip_address`,`arrival_url`)
VALUES ('$asid','$sessionid',CURDATE(),'$siteid','$refer','$agent','$istesting','$ip','$arrival_url');";
$query = mysql_query($sql) or die(mysql_error());//insert all data into site_arrivals table
}
$sessionid = session_id();
$id = mysql_query("SELECT id from site_arrivals where sessionid='$sessionid'");
$sessid = mysql_fetch_array($id);
$session_id = $sessid['id'];
$_SESSION['arrival_id'] = $session_id;
}
}
?>
WeFixMoney.com - We Can Fix Your Financial Situation
Our goal is to help you navigate through
challenging financial times. We work
with companies throughout the country
to bring you the best services at the most
competitive rates.
By filling out a form, you will be matched
with the ideal service partner who can
meet your needs. Our service is available
to you 24 hours a day, 7 days a week.
Please click on the menu link for the
appropriate service and take the time to
fill out the form correctly so we may best
assist you.