5/28/07

Links exchange

Trying out this new linksexchange program that I surfed into. Will write about it after a month.




Business Process Outsourcing - Asia Link Partners





$LinkID = "4214";
$sSelf = $_SERVER["PHP_SELF"];
$sQuery = "script=php&LinkID=" .urlencode($LinkID) . "&ScriptName=" . urlencode($sSelf);

foreach ($_GET as $key => $value)
{
$value = urlencode(stripslashes($value));
$sQuery .= "&$key=$value";
}

$ch = curl_init ($sMainURL . "/links/engine.php?".$sQuery);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_exec ($ch);

if(curl_error($ch))
echo "Error processing request";

curl_close ($ch);
?>

No comments: