Hi,
I'm having some serious trouble with PHP code not working on my web page and/or not showing. Plus my logo and nav bar are not showing as well when the page is published. I have tried all of the following;
* Inserting the PHP code into a html box
* file extension is set to php
* increasing the size of the html box
What am I doing wrong? Anyone have any suggestions?...the url is
This is the code I would like to insert;
<?php
$SID="364d8dc3-af06-4bb5-acce-b1ac9641df93";
$IPAddress = urlencode($_SERVER['REMOTE_ADDR']);
$UserAgent = urlencode($_SERVER['HTTP_USER_AGENT']);
$Host=urlencode($_SERVER['HTTP_HOST']);
$PageURL=urlencode($_SERVER['SCRIPT_NAME'].'?'.$_SERVER['QUERY_STRING']);
$URL="http://si.goldencan.com/GetData.aspx?ver=2.0&SID=".$SID;
$URL=$URL.'&Host='.$Host;
$URL = $URL.'&PageURL='.$PageURL;
$URL = $URL.'&IPAddress='.$IPAddress;
$URL = $URL.'&UserAgent='.$UserAgent;
include($URL);
?>
I'm having some serious trouble with PHP code not working on my web page and/or not showing. Plus my logo and nav bar are not showing as well when the page is published. I have tried all of the following;
* Inserting the PHP code into a html box
* file extension is set to php
* increasing the size of the html box
What am I doing wrong? Anyone have any suggestions?...the url is
This is the code I would like to insert;
<?php
$SID="364d8dc3-af06-4bb5-acce-b1ac9641df93";
$IPAddress = urlencode($_SERVER['REMOTE_ADDR']);
$UserAgent = urlencode($_SERVER['HTTP_USER_AGENT']);
$Host=urlencode($_SERVER['HTTP_HOST']);
$PageURL=urlencode($_SERVER['SCRIPT_NAME'].'?'.$_SERVER['QUERY_STRING']);
$URL="http://si.goldencan.com/GetData.aspx?ver=2.0&SID=".$SID;
$URL=$URL.'&Host='.$Host;
$URL = $URL.'&PageURL='.$PageURL;
$URL = $URL.'&IPAddress='.$IPAddress;
$URL = $URL.'&UserAgent='.$UserAgent;
include($URL);
?>
Comment