Links
// ********************************************************************
// Paste this block of code on your web page where you would like text
// links to be displayed. This code will dynamically add and remove text
// links on your web page according to your TradeWeblinks.com settings.
// ********************************************************************
// ********************************************************************
// Please DO NOT modify anything below
// ********************************************************************
$oneway_site_key = 'Mzc2NTk1MDA=';
$QueryString = "oneway_site_key=Mzc2NTk1MDA=";
$QueryString .= "&LinkUrl=".(($_SERVER['HTTPS']=='on')?'https://':'http://').$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
$ch = curl_init ("http://www.tradeweblinks.com/users/resource.php?".$QueryString);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_exec ($ch);
if(curl_error($ch))
echo "Error processing request";
curl_close ($ch);
// *** If you get curl errors, please uncomment out these following 6 lines and comment the above 6 lines
// *** and comment out above functions
//$handle = fopen("http://www.tradeweblinks.com/users/resource.php?".$QueryString,"r");
//$results = '';
//while (!feof($handle))
//{$results .= fread($handle, 8192);}
//fclose($handle);
//echo $results;
?>
