$visitor_ip = $_SERVER['REMOTE_ADDR'];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://www.offcenterharbor.com/idevaffiliate/idevaffiliate.php?ip_address=" . $visitor_ip . "&id=125");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
If REMOTE_ADDR is producing the server IP or wrong IP in general,
adjust it to match the customer's IP address. You can check the
IP address being received in the Incoming Traffic Log in your
Welcome, friends from Mystic Seaport.
This video about the Mystic Seaport Boathouse
is one of our favorites at OffCenterHarbor.com.
For more free videos and blogs,
simply sign in above and we'll send you several
of our best videos so you can get to know us.
* * *
OffCenterHarbor.com is a membership site with a
growing collection of over 60 videos and 80 blogs.
If you already know us and would like to join, simply
sign in above and we'll send you a code to join with a discount, and
you'll receive a free 3-month subscription to Classic Boat magazine.