// // Hoover Products Corporation // // Written By: John D. Hoover Jr // Chief Executive Officer // Hoover Products Corporation // College: The Pennsylvania State University (1995 - 2001) // Major: Management Information Systems // Military: U.S. Navy SN E-3 (1993 - 1995) // Discharge Type: Honorable Discharge // Date written: May 1st, 2021 // Updated: July 31st, 2025 // include "config.php"; date_default_timezone_set("America/New_York"); error_reporting(0); $conn = mysqli_connect($servername, $username, $password, $dbname); // Check connection if($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } function test_input($data) { $data = trim($data); $data = stripslashes($data); $data = htmlspecialchars($data); $data = htmlentities($data); return $data; } $date = date("Y-m-d H:i:s"); $ip_address = $_SERVER['REMOTE_ADDR']; $season_date = date("Y-m-d"); $date_year = date("Y"); $spring_begin_date = date('Y-02-28 23:59:59'); $spring_end_date = date('Y-05-31 23:59:59'); $summer_begin_date = date('Y-06-21 23:59:59'); $summer_end_date = date('Y-09-23 23:59:59'); $fall_begin_date = date('Y-09-23 23:59:59'); $fall_end_date = date('Y-09-28 23:59:59'); $halloween_begin_date = date('Y-09-28 23:59:59'); $halloween_end_date = date('Y-11-02 23:59:59'); $thanksgiving_begin_date = date('Y-11-02 23:59:59'); $thanksgiving_end_date = date('Y-11-24 23:59:59'); $christmas_begin_date = date('Y-11-28 23:59:59'); $christmas_end_date = date('Y-12-26 23:59:59'); $new_year_begin_date = date('Y-12-26 23:59:59'); $new_year_end_date = date('Y-01-02 23:59:59'); if(isset($_GET["affiliate"])) { $affiliate = test_input($_GET["affiliate"]); } if(isset($_GET["automobile_flyer"])) { $automobile_flyer = test_input($_GET["automobile_flyer"]); } if(isset($_GET["a"])) { $a = test_input($_GET["a"]); } if(isset($_GET["auto"])) { $auto = test_input($_GET["auto"]); } if(isset($_GET["work_from_home_flyer"])) { $work_from_home_flyer = test_input($_GET["work_from_home_flyer"]); } if(isset($_GET["w"])) { $w = test_input($_GET["w"]); } if(isset($_SERVER['HTTP_REFERER'])) { $referral_address = test_input($_SERVER['HTTP_REFERER']); } if(isset($_SERVER['HTTP_USER_AGENT'])) { $browser = test_input($_SERVER['HTTP_USER_AGENT']); } if(isset($_GET["qr_code_medium"])) { $qr_code_medium = test_input($_GET["qr_code_medium"]); } if(isset($_GET["business_card_qr_code"])) { $business_card_qr_code = test_input($_GET["business_card_qr_code"]); } if(isset($_GET["work_from_home_flyer_qr_code"])) { $work_from_home_flyer_qr_code = test_input($_GET["work_from_home_flyer_qr_code"]); } function getVisIpAddr() { if (!empty($_SERVER['HTTP_CLIENT_IP'])) { return $_SERVER['HTTP_CLIENT_IP']; } else if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { return $_SERVER['HTTP_X_FORWARDED_FOR']; } else { return $_SERVER['REMOTE_ADDR']; } } // Store the IP address $ip = getVisIPAddr(); // Use JSON encoded string and converts // it into a PHP variable //$ipdat = @json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=" . $ip)); $country_name = $ipdat->geoplugin_countryName; $continent_name = $ipdat->geoplugin_continentName; // Variable initialization $site_name = ""; $page_name = ""; $ip_address = ""; $referer = ""; $browser = ""; // End variable initialization $date = date("Y-m-d H:i:s"); $site_name = "Hoover Products Corporation"; $page_name = "Home"; if(isset($_SERVER['REMOTE_ADDR'])) { $ip_address = test_input($_SERVER['REMOTE_ADDR']); } if(isset($_SERVER['HTTP_REFERER'])) { $referer = test_input($_SERVER['HTTP_REFERER']); } if(isset($_SERVER['HTTP_USER_AGENT'])) { $browser = test_input($_SERVER['HTTP_USER_AGENT']); } $rt_affiliate_id = mysqli_query($conn, "SELECT affiliate_id FROM user_traffic WHERE ip_address = '$ip_address' ORDER BY date ASC LIMIT 0, 1") or die(mysqli_error()); if($row = mysqli_fetch_array($rt_affiliate_id)) { $affiliate_id = $row['affiliate_id']; } if($affiliate_id == "") { $affiliate_id = $_COOKIE['affiliate_id']; if($affiliate_id == "") { $affiliate_id = $_GET['affiliate_id']; } } // Campaign tracking if(isset($_SERVER['REMOTE_ADDR'])) { $ip_address = test_input($_SERVER['REMOTE_ADDR']); } if(isset($_SERVER['HTTP_REFERER'])) { $referer = test_input($_SERVER['HTTP_REFERER']); } if(isset($_SERVER['HTTP_USER_AGENT'])) { $browser = test_input($_SERVER['HTTP_USER_AGENT']); } if(isset($_GET['campaign'])) { filter_var($_GET['campaign'], FILTER_SANITIZE_STRING); $campaign = test_input($_GET['campaign']); } if(isset($_POST['campaign'])) { filter_var($_POST['campaign'], FILTER_SANITIZE_STRING); $campaign = test_input($_POST['campaign']); } if(isset($_GET['campaign_tracking_variable'])) { filter_var($_GET['campaign_tracking_variable'], FILTER_SANITIZE_STRING); $campaign_tracking_variable = test_input($_GET['campaign_tracking_variable']); } if(isset($_POST['campaign_tracking_variable'])) { filter_var($_POST['campaign_tracking_variable'], FILTER_SANITIZE_STRING); $campaign_tracking_variable = test_input($_POST['campaign_tracking_variable']); } $visitor_id = rand(100000000000, 999999999999); $date_minus_five_days = date('Y-m-d', strtotime('-5 days')); if(isset($_SERVER['HTTP_USER_AGENT'])) { $user_agent = test_input($_SERVER['HTTP_USER_AGENT']); } // Search for Bot, Crawler or Robot if(strpos($user_agent, 'are', 'Bot', 'Crawler', 'Robot', 'Spider', 'Bots', 'Scraper', 'bot', 'crawler', 'robot', 'spider', 'bots', 'externalhit_uatext.php', 'searchengine', 'search', 'indexing', 'fetcher', 'testing', 'scraper', 'SemrushBot', 'SemrushBot/7~bl;') === false) { // Only keep 5 days of stats mysqli_query($conn, "DELETE FROM tracking_all_stats WHERE date < '$date_minus_five_days'") or die(mysqli_error()); mysqli_query($conn, "INSERT INTO tracking_all_stats (visitor_id, ip_address, site_name, page_name, referer, continent, country, browser, date) VALUES ('$visitor_id', '$ip_address', '$site_name', '$page_name', '$referer', '$continent_name', '$country_name', '$browser', '$date')") or die(mysqli_error()); if(isset($_GET['campaign'])) { $visitor_id = rand(100000000000, 999999999999); $rt_campaign_data = mysqli_query($conn, "select campaign, campaign_tracking_variable from campaign_test_variable where campaign = '$campaign' and campaign_tracking_variable = '$campaign_tracking_variable'") or die(mysqli_error()); $rt_campaign_data_rows = mysqli_num_rows($rt_campaign_data); if($rt_campaign_data_rows) { mysqli_query($conn, "insert into tracking_stats (visitor_id, ip_address, site_name, page_name, referer, campaign, campaign_tracking_variable, continent, country, browser, date) values ('$visitor_id', '$ip_address', '$site_name', '$page_name', '$referer', '$campaign', '$campaign_tracking_variable', '$continent_name', '$country_name', '$browser', '$date')") or die(mysqli_error()); } } if($affiliate_id) { //Set cookies if(!$sales_rep_id_cookie) { $rt_sales_rep_id = mysqli_query($conn, "select affiliate_id from user_traffic where ip_address = '$ip_address' order by date asc limit 0, 1") or die(mysqli_error()); $rt_sales_rep_id_rows = mysqli_num_rows($rt_sales_rep_id); if(!$rt_sales_rep_id_rows) { $cookie_name = "sales_rep_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (105120000 * 30), "/"); // 86400 = 1 day $cookie_name = "affiliate_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (105120000 * 30), "/"); // 86400 = 1 day } } $rs_affiliate_id_verify = mysqli_query($conn, "SELECT affiliate_id FROM user_info WHERE affiliate_id = '$affiliate_id' LIMIT 0, 1") or die(mysqli_error()); $rs_affiliate_id_verify_rows = mysqli_num_rows($rs_affiliate_id_verify); if($rs_affiliate_id_verify_rows) { mysqli_query($conn, "INSERT INTO user_traffic (affiliate_id, product_id, ip_address, referral_address, continent, country, browser, date) VALUES ('$affiliate_id', '$medium_variable', '$ip_address', '$referral_address', '$continent_name', '$country_name', '$browser', '$date')") or die(mysqli_error()); } } } // Variable initialization $ip_address = ""; $referer = ""; $browser = ""; $campaign = ""; $campaign_tracking_variable = ""; // End variable initialization // Campaign tracking if(isset($_SERVER['REMOTE_ADDR'])) { $ip_address = test_input($_SERVER['REMOTE_ADDR']); } if(isset($_SERVER['HTTP_REFERER'])) { $referer = test_input($_SERVER['HTTP_REFERER']); } if(isset($_SERVER['HTTP_USER_AGENT'])) { $browser = test_input($_SERVER['HTTP_USER_AGENT']); } if(isset($_GET['campaign'])) { filter_var($_GET['campaign'], FILTER_SANITIZE_STRING); $campaign = test_input($_GET['campaign']); } if(isset($_POST['campaign'])) { filter_var($_POST['campaign'], FILTER_SANITIZE_STRING); $campaign = test_input($_POST['campaign']); } if(isset($_GET['campaign_tracking_variable'])) { filter_var($_GET['campaign_tracking_variable'], FILTER_SANITIZE_STRING); $campaign_tracking_variable = test_input($_GET['campaign_tracking_variable']); } if(isset($_POST['campaign_tracking_variable'])) { filter_var($_POST['campaign_tracking_variable'], FILTER_SANITIZE_STRING); $campaign_tracking_variable = test_input($_POST['campaign_tracking_variable']); } if(!$affiliate) { mysqli_query($conn, "lock table user_traffic write") or die(mysqli_error()); $rt_sales_rep_id = mysqli_query($conn, "select affiliate_id from user_traffic where ip_address = '$ip_address' order by date asc limit 0, 1") or die(mysqli_error()); if($row = mysqli_fetch_array($rt_sales_rep_id)) { $affiliate_id = $row['affiliate_id']; $cookie_name = "sales_rep_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day $cookie_name = "affiliate_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day } mysqli_query($conn, "unlock table") or die(mysqli_error()); } if($affiliate && $automobile_flyer != "1" && $auto != "1" && $work_from_home_flyer != "1" && $work_from_home_flyer_qr_code != "1" && $w != "1" && $a != "1" && $qr_code_medium != "Affiliate_Info_Mailing_Letter_QR_Code" && $business_card_qr_code != "1") { $affiliate = str_replace("&", "&", "$affiliate"); mysqli_query($conn, "lock table user_info write") or die(mysqli_error()); $rt_affiliate_id = mysqli_query($conn, "select affiliate_id from user_info where business_card_name = '$affiliate'") or die(mysqli_error()); if($row = mysqli_fetch_array($rt_affiliate_id)) { $affiliate_id = $row['affiliate_id']; } mysqli_query($conn, "unlock table") or die(mysqli_error()); mysqli_query($conn, "lock table user_traffic write") or die(mysqli_error()); mysqli_query($conn, "insert into user_traffic (affiliate_id, product_id, ip_address, referral_address, campaign_name, campaign_tracking_variable, additional_advertising_materials, continent, country, browser, date) values ('$affiliate_id', '$product_id', '$ip_address', '$referral_address', '$campaign_name', '$campaign_tracking_variable', 'Business Card Link', '$continent_name', '$country_name', '$browser', '$date')") or die(mysqli_error()); mysqli_query($conn, "unlock table") or die(mysqli_error()); $cookie_name = "sales_rep_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day $cookie_name = "affiliate_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day ?> } if($affiliate && $automobile_flyer == "1" && $auto != "1") { $affiliate = str_replace("&", "&", "$affiliate"); mysqli_query($conn, "lock table user_info write") or die(mysqli_error()); $rt_affiliate_id = mysqli_query($conn, "select affiliate_id from user_info where business_card_name = '$affiliate'") or die(mysqli_error()); if($row = mysqli_fetch_array($rt_affiliate_id)) { $affiliate_id = $row['affiliate_id']; } mysqli_query($conn, "unlock table") or die(mysqli_error()); mysqli_query($conn, "lock table user_traffic write") or die(mysqli_error()); mysqli_query($conn, "insert into user_traffic (affiliate_id, product_id, ip_address, referral_address, campaign_name, campaign_tracking_variable, additional_advertising_materials, continent, country, browser, date) values ('$affiliate_id', '$product_id', '$ip_address', '$referral_address', '$campaign_name', '$campaign_tracking_variable', 'Automobile Flyer QR Code', '$continent_name', '$country_name', '$browser', '$date')") or die(mysqli_error()); mysqli_query($conn, "unlock table") or die(mysqli_error()); $cookie_name = "sales_rep_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day $cookie_name = "affiliate_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day ?> } if($affiliate && $auto == "1") { $affiliate = str_replace("&", "&", "$affiliate"); mysqli_query($conn, "lock table user_info write") or die(mysqli_error()); $rt_affiliate_id = mysqli_query($conn, "select affiliate_id from user_info where business_card_name = '$affiliate'") or die(mysqli_error()); if($row = mysqli_fetch_array($rt_affiliate_id)) { $affiliate_id = $row['affiliate_id']; } mysqli_query($conn, "unlock table") or die(mysqli_error()); mysqli_query($conn, "lock table user_traffic write") or die(mysqli_error()); mysqli_query($conn, "insert into user_traffic (affiliate_id, product_id, ip_address, referral_address, campaign_name, campaign_tracking_variable, additional_advertising_materials, continent, country, browser, date) values ('$affiliate_id', '$product_id', '$ip_address', '$referral_address', '$campaign_name', '$campaign_tracking_variable', 'Automobile Flyer Link', '$continent_name', '$country_name', '$browser', '$date')") or die(mysqli_error()); mysqli_query($conn, "unlock table") or die(mysqli_error()); $cookie_name = "sales_rep_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day $cookie_name = "affiliate_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day ?> } if($affiliate && $work_from_home_flyer == "1" && $w != "1") { $affiliate = str_replace("&", "&", "$affiliate"); mysqli_query($conn, "lock table user_info write") or die(mysqli_error()); $rt_affiliate_id = mysqli_query($conn, "select affiliate_id from user_info where business_card_name = '$affiliate'") or die(mysqli_error()); if($row = mysqli_fetch_array($rt_affiliate_id)) { $affiliate_id = $row['affiliate_id']; } mysqli_query($conn, "unlock table") or die(mysqli_error()); mysqli_query($conn, "lock table user_traffic write") or die(mysqli_error()); mysqli_query($conn, "insert into user_traffic (affiliate_id, product_id, ip_address, referral_address, campaign_name, campaign_tracking_variable, additional_advertising_materials, continent, country, browser, date) values ('$affiliate_id', '$product_id', '$ip_address', '$referral_address', '$campaign_name', '$campaign_tracking_variable', 'Work From Home Flyer QR Code', '$continent_name', '$country_name', '$browser', '$date')") or die(mysqli_error()); mysqli_query($conn, "unlock table") or die(mysqli_error()); $cookie_name = "sales_rep_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day $cookie_name = "affiliate_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day ?> } if($affiliate && $w == "1") { $affiliate = str_replace("&", "&", "$affiliate"); mysqli_query($conn, "lock table user_info write") or die(mysqli_error()); $rt_affiliate_id = mysqli_query($conn, "select affiliate_id from user_info where business_card_name = '$affiliate'") or die(mysqli_error()); if($row = mysqli_fetch_array($rt_affiliate_id)) { $affiliate_id = $row['affiliate_id']; } mysqli_query($conn, "unlock table") or die(mysqli_error()); mysqli_query($conn, "lock table user_traffic write") or die(mysqli_error()); mysqli_query($conn, "insert into user_traffic (affiliate_id, product_id, ip_address, referral_address, campaign_name, campaign_tracking_variable, additional_advertising_materials, continent, country, browser, date) values ('$affiliate_id', '$product_id', '$ip_address', '$referral_address', '$campaign_name', '$campaign_tracking_variable', 'Work From Home Flyer Link', '$continent_name', '$country_name', '$browser', '$date')") or die(mysqli_error()); mysqli_query($conn, "unlock table") or die(mysqli_error()); $cookie_name = "sales_rep_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day $cookie_name = "affiliate_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day ?> } if($affiliate && $work_from_home_flyer_qr_code == "1") { $affiliate = str_replace("&", "&", "$affiliate"); mysqli_query($conn, "lock table user_info write") or die(mysqli_error()); $rt_affiliate_id = mysqli_query($conn, "select affiliate_id from user_info where business_card_name = '$affiliate'") or die(mysqli_error()); if($row = mysqli_fetch_array($rt_affiliate_id)) { $affiliate_id = $row['affiliate_id']; } mysqli_query($conn, "unlock table") or die(mysqli_error()); mysqli_query($conn, "lock table user_traffic write") or die(mysqli_error()); mysqli_query($conn, "insert into user_traffic (affiliate_id, product_id, ip_address, referral_address, campaign_name, campaign_tracking_variable, additional_advertising_materials, continent, country, browser, date) values ('$affiliate_id', '$product_id', '$ip_address', '$referral_address', '$campaign_name', '$campaign_tracking_variable', 'Work From Home Flyer QR Code', '$continent_name', '$country_name', '$browser', '$date')") or die(mysqli_error()); mysqli_query($conn, "unlock table") or die(mysqli_error()); $cookie_name = "sales_rep_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day $cookie_name = "affiliate_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day ?> } if($affiliate && $a == "1") { $affiliate = str_replace("&", "&", "$affiliate"); mysqli_query($conn, "lock table user_info write") or die(mysqli_error()); $rt_affiliate_id = mysqli_query($conn, "select affiliate_id from user_info where business_card_name = '$affiliate'") or die(mysqli_error()); if($row = mysqli_fetch_array($rt_affiliate_id)) { $affiliate_id = $row['affiliate_id']; } mysqli_query($conn, "unlock table") or die(mysqli_error()); mysqli_query($conn, "lock table user_traffic write") or die(mysqli_error()); mysqli_query($conn, "insert into user_traffic (affiliate_id, product_id, ip_address, referral_address, campaign_name, campaign_tracking_variable, additional_advertising_materials, continent, country, browser, date) values ('$affiliate_id', '$product_id', '$ip_address', '$referral_address', '$campaign_name', '$campaign_tracking_variable', 'Work From Home Flyer Main Link', '$continent_name', '$country_name', '$browser', '$date')") or die(mysqli_error()); mysqli_query($conn, "unlock table") or die(mysqli_error()); $cookie_name = "sales_rep_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day $cookie_name = "affiliate_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day ?> } if($qr_code_medium == "Affiliate_Info_Mailing_Letter_QR_Code") { $affiliate = str_replace("&", "&", "$affiliate"); mysqli_query($conn, "lock table user_info write") or die(mysqli_error()); $rt_affiliate_id = mysqli_query($conn, "select affiliate_id from user_info where business_card_name = '$affiliate'") or die(mysqli_error()); if($row = mysqli_fetch_array($rt_affiliate_id)) { $affiliate_id = $row['affiliate_id']; } mysqli_query($conn, "unlock table") or die(mysqli_error()); mysqli_query($conn, "lock table user_traffic write") or die(mysqli_error()); mysqli_query($conn, "insert into user_traffic (affiliate_id, product_id, ip_address, referral_address, campaign_name, campaign_tracking_variable, additional_advertising_materials, continent, country, browser, date) values ('$affiliate_id', '$product_id', '$ip_address', '$referral_address', '$campaign_name', '$campaign_tracking_variable', 'Affiliate Info Mailing Letter QR Code', '$continent_name', '$country_name', '$browser', '$date')") or die(mysqli_error()); mysqli_query($conn, "unlock table") or die(mysqli_error()); $cookie_name = "sales_rep_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day $cookie_name = "affiliate_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day ?> } if($business_card_qr_code == "1") { $affiliate = str_replace("&", "&", "$affiliate"); mysqli_query($conn, "lock table user_info write") or die(mysqli_error()); $rt_affiliate_id = mysqli_query($conn, "select affiliate_id from user_info where business_card_name = '$affiliate'") or die(mysqli_error()); if($row = mysqli_fetch_array($rt_affiliate_id)) { $affiliate_id = $row['affiliate_id']; } mysqli_query($conn, "unlock table") or die(mysqli_error()); mysqli_query($conn, "lock table user_traffic write") or die(mysqli_error()); mysqli_query($conn, "insert into user_traffic (affiliate_id, product_id, ip_address, referral_address, campaign_name, campaign_tracking_variable, additional_advertising_materials, continent, country, browser, date) values ('$affiliate_id', '$product_id', '$ip_address', '$referral_address', '$campaign_name', '$campaign_tracking_variable', 'Business Card QR Code', '$continent_name', '$country_name', '$browser', '$date')") or die(mysqli_error()); mysqli_query($conn, "unlock table") or die(mysqli_error()); $cookie_name = "sales_rep_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day $cookie_name = "affiliate_id"; $cookie_value = "$affiliate_id"; setcookie($cookie_name, $cookie_value, time() + (3153600000 * 30), "/"); // 86400 = 1 day ?> } ?>
Home |
![]() "Good products at a fair price!" ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|
|
John D. Hoover YouTube Channel |
$current_year = date("Y"); print("© Hoover Products Corporation $current_year"); ?>