coop code (PHP Embed in XML?)

Discussion in 'Co-op Advertising Network' started by Imran, Dec 1, 2006.

  1. #1
    I tried a lot and failed to get this to work.
    Tried many ways it just simple prints raw php code on to the html source page.
    These are the variuos ways I tried any help would be really appreciated.
    Thanks.

    <script language="php">
    	ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    	include ('ad_network_212.php');
    	echo $ad_network;
    	print "Love you";
    <!-- COOP -->
    </script>
    <!--#include virtual="\ad_network_212.php" -->
    <?php
    	ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    	include ('ad_network_212.php');
    	echo $ad_network;
    ?>
    PHP:

     
    Imran, Dec 1, 2006 IP
  2. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Stick the ads in an xss style sheet instead.
     
    mad4, Dec 1, 2006 IP