Quote:
Originally Posted by BrentWilson
You forgot to add the info in phpinclude
|
no, i added it. but i'm not sure if i've added it in the right place.
here is my phpinclude template. does it look right where it's added?
Code:
// Example of how to include a seperate file:
// ob_start();
// require("yourheader.html");
// $header = ob_get_contents();
// ob_end_clean();
//vBanner made by Thain, aka Rufus69.
$file ="images.txt";
$banner = file("$file");
$b = rand(0, sizeof($banner)-1);
if ($bbuserinfo[usergroupid] == 13) {
header("HTTP/1.0 404 Not Found");
header("Status: 404 Not Found");
exit;
}
$statscache = unserialize($datastore['statscache']);
<?php
if (@include(getenv('DOCUMENT_ROOT').'/adserver/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:1', 0, '_blank', '', '0', $phpAds_context);
$bannerad = $phpAds_raw['html'];
}
?>
include("./statistik_counter.php");