OK. I have tried quite a few things. And this is as close as I get http://www.pandapub.com/home.shtml At that URL, the bottom, I included <!--#include virtual="/ad_network_239.php" --> You see the junk as the result.. any ideas what I did wrong? I have include's for my header and a footer after this include and they work fine. like so: <!--#include file="header.php"--> <!--#include file="footer.php"-->
No. Include the footer. Or a different file altogether. You are now including PHP code which doesn't output anything. You will want to include a 3d file which echoes the $ad_network. 3d file: include the network file echo $ad_network; PHP: <!-- include 3d file...
OK. Here is what I have, still not working. Bottom of home.shtml: <!--#include file="footer.php"--> Contents of footer.php: <?php include 'ad_network_239.php'; echo $ad_network; ?> </html> If i load http://www.pandapub.com/home.shtml - nothing shows up If I load http://www.pandapub.com/footer.php - ads show up
On home.shtml: <?php include 'ad_network_239.php'; echo $ad_network; ?> PHP: It's not parsed. Virtual includes prolly don't take the output but the raw code or you'll have to tell your htaccess to parse sthml.
Still not working, here is the bottom of my homepage code: Unix Prompt> tail -6 home.shtml </body> <?php include 'ad_network_239.php'; echo $ad_network; ?> <!--#include file="footer.php"--> Just blank ...
When I view the SOURCE CODE for the page www.pandapub.com/home.shtml I see this at the end: </body> <?php include 'ad_network_239.php'; echo $ad_network; ?> </html> So it's not actually calling php for some reason? Very odd..