I'm trying to get ads to display from a file using this code below. But the code given to me by one of my advertisers doesn't seem to work. Does anyone here know why? Is there a way to alter or edit this code to get it to work on an html template file? Perhaps this code was designed to work with a php file only? However, phpbb forums use html templates, so the codes need to be in html right? If so, do any of you have any idea how to make it work and display ads correctly from the URL defined within? Here's the code:
Code: Select all
<?php/
$ad = file_get_contents('https://www.loveme.com/contentads/events_160.shtml');
echo $ad;
?>
Winston