I have searched these forums and couldn't find an answer. This is my setup:
My main site is domain1.com.
Trade Pulse is installed on a second domain as a sub domain in tp.domain2.com
When I add the PHP code to my domain1.com index.php file as:
<?php include_once("/full-path-to-sub-domain/tp/ssi_in.php"); ?>
Then when I view the source of my index.php file I see:
<script language="javascript" type="text/javascript">
var d;
d = Math.floor(Math.random () * 10000);
document.write('<s' + 'cri' + 'pt language="JavaScript" src="/tp/filter.php?pro='+ d +'"></sc' + 'ript>');
</script>
The problem is the path to /tp/filter.php is relative to domain1.com which is is trying to pull domain1.com/tp/filter.php which is non-existent since it should be tp.domain2.com/tp/filter.php. I am also not seeing any cookies code like I've seen when I've searched the forum.
How can I make sure all of my relative paths are going to the correct domain with the Trade Pulse installation?
Thanks