site validating

Discussion in 'Co-op Advertising Network' started by fsmedia, Feb 2, 2006.

  1. #1
    I'm using a templating system that isn't in the absolute home of the website. When I'm using this:

    <?php
    	ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    	include ('ad_network_XXX.php');
    	echo $ad_network;
    ?>
    Code (markup):
    Could I some how absolutely call that file so it doesn't have to search for i t?
     
    fsmedia, Feb 2, 2006 IP
  2. Riboflavin

    Riboflavin Well-Known Member

    Messages:
    1,091
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    155
    #2
    I'm not sure exactly what you mean, but your code should look something like this:

    
    <?php
    	ini_set ("include_path", ini_get ("include_path") . 'home/user/public_html/scripts/ad_network.php/');
    	include ('ad_network_XXX.php');
    	echo $ad_network;
    ?>
    
    Code (markup):
     
    Riboflavin, Feb 2, 2006 IP
  3. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #3
    I'm specifically trying to get it working with evoTopSites. Anyone have any experience with validating through the templating system used by evoTopSites?
     
    fsmedia, Feb 3, 2006 IP