Below is a piece of code we've been trying to get to work and haven't been able to yet. Searched extensively several forums and web. G,Y,M and several others.
Any Help would be greatly appreciated.
PS: I added the global line in it.
<?php
global $SID,$IPAddress,$_SERVER,$UserAgent,$PageURL,$URL;
$SID="REMOVED_SITE_IDENTIFICATION";
$IPAddress = urlencode($_SERVER['REMOTE_ADDR']);
$UserAgent = urlencode($_SERVER['HTTP_USER_AGENT']);
$PageURL = urlencode($_SERVER['SCRIPT_NAME'].'?'.$_SERVER['QUERY_STRING']);
$URL = "<A href="http://si.REMOVED_SITE_NAME.com/GetData.aspx?SID=".$SID">http://si.REMOVED_SITE_NAME.com/GetData.aspx?SID=".$SID;
$URL = $URL.'&IPAddress='.$IPAddress;
$URL = $URL.'&UserAgent='.$UserAgent;
$URL = $URL.'&PageURL='.$PageURL;
include($URL);
?>
Any Help would be greatly appreciated.
PS: I added the global line in it.
<?php
global $SID,$IPAddress,$_SERVER,$UserAgent,$PageURL,$URL;
$SID="REMOVED_SITE_IDENTIFICATION";
$IPAddress = urlencode($_SERVER['REMOTE_ADDR']);
$UserAgent = urlencode($_SERVER['HTTP_USER_AGENT']);
$PageURL = urlencode($_SERVER['SCRIPT_NAME'].'?'.$_SERVER['QUERY_STRING']);
$URL = "<A href="http://si.REMOVED_SITE_NAME.com/GetData.aspx?SID=".$SID">http://si.REMOVED_SITE_NAME.com/GetData.aspx?SID=".$SID;
$URL = $URL.'&IPAddress='.$IPAddress;
$URL = $URL.'&UserAgent='.$UserAgent;
$URL = $URL.'&PageURL='.$PageURL;
include($URL);
?>
Comment