help with PHP code

Here you can ask or discuss anything else you want...

help with PHP code

New postby vehiclenetwork » Mon Mar 24, 2014 7:50 am

I'm trying to implement this code onto one of my articles in joomla 2.5:
{jumi}<?php
$SID="25AE9C0A-4E6B-4BE3-BE22-DE76F295DA5A";
$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);
?>{/jumi}

I keep getting this message:
Jumi is working but there is nothing to be shown.
Specify the source of the code (first square brackets).

Please advise on what to do. I am clueless about this stuff and my web designer is on vacation.

Thanks!!
vehiclenetwork
 
Posts: 1
Joined: Mon Mar 24, 2014 7:44 am

Return to Open discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron