$amigosid = $_REQUEST['amigosid'];
$lifetime = time() + 365*24*60*60;
setcookie( 'amigosid', $amigosid, $lifetime, '/' );
?>
img src="http://www.youramigosdomain.com/index.php?option=com_amigos&task=sale&amigosid=$GGG&amigos_ordertype=$XXX&amigos_orderid=$YYY&amigos_orderamount=$ZZZ&amigos_ipaddress=$NNN" width="1" border="0" height="1"
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://www.youramigosdomain.com/index.php?option=com_amigos&task=sale&amigosid=$GGG&amigos_ordertype=$XXX&amigos_orderid=$YYY&amigos_orderamount=$ZZZ&amigos_ipaddress=$NNN");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_exec($ch);
curl_close($ch);
?>
$GGG = $_REQUEST['amigosid'];
$XXX = 'shopping_cart_name';
$YYY = '1234';
$ZZZ = '99.99';
$NNN = $_SERVER['REMOTE_ADDR'];
img src="http://www.youramigosdomain.com/index.php?option=com_amigos&task=sale&amigosid=$GGG&amigos_ordertype=$XXX&amigos_orderid=$YYY&amigos_orderamount=$ZZZ&amigos_ipaddress=$NNN" width="1" border="0" height="1"
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
I guess you put it in the top of your Joomla templates index file.so where do i have to insert the code??
CBSubs URL supports all user substitutions plus a couple custom CBSubs substitutions. Price however you'd just put as the plans price and it'd be static (no substitution). Example as follows.and what would be the right substitutions??
http://www.youramigosdomain.com/index.php?option=com_amigos&task=sale&amigosid=$GGG&amigos_ordertype=[plan_id]&amigos_orderid=[subscription_id]&amigos_orderamount=9.99&amigos_ipaddress=[registeripaddr]
Please Log in to join the conversation.