1
Trade Pulse Support / subpages include...
« on: May 01, 2009, 08:16:00 AM »
hello guys, just need an help with ssi_in include...
I have a pretty complex structure of pages and I need to include the tp code in every page.
The structure is:
mysite.com
mysite.com/page1.php
mysite.com/dir1/page2.php
mysite.com/dir1/dir2/page3.php
I use the full path for the include code and its working fine, but the doubt I have is about the dynamic filter...
lets suppose I added the code to "mysite.com/dir1/dir2/page3.php", in the html code I see
<script language="JavaScript">
var d;
d = Math.floor(Math.random () * 10000);
document.write('<s' + 'cri' + 'pt language="JavaScript" src="/tp/filter.php?pro='+ d +'"></sc' + 'ript>');
"/tp/filter.php" results of course 404... how I can use the full path for the dynamic filter too?
thanks!
I have a pretty complex structure of pages and I need to include the tp code in every page.
The structure is:
mysite.com
mysite.com/page1.php
mysite.com/dir1/page2.php
mysite.com/dir1/dir2/page3.php
I use the full path for the include code and its working fine, but the doubt I have is about the dynamic filter...
lets suppose I added the code to "mysite.com/dir1/dir2/page3.php", in the html code I see
<script language="JavaScript">
var d;
d = Math.floor(Math.random () * 10000);
document.write('<s' + 'cri' + 'pt language="JavaScript" src="/tp/filter.php?pro='+ d +'"></sc' + 'ript>');
"/tp/filter.php" results of course 404... how I can use the full path for the dynamic filter too?
thanks!