The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
help, having problems with includes - told you could help
i was told you had a hack that could help me with this -
ok so this is my include file and im using php ads new Code:
// This code is PHP4 only: // ob_start(); // require("yourheader.html"); // $header = ob_get_contents(); // ob_end_clean(); include("vbs_counter.php"); ob_start(); require('side.php'); $side = ob_get_contents(); ob_end_clean(); ob_start(); require('ads.php'); $ads = ob_get_contents(); ob_end_clean(); Code:
<?php require(getenv('DOCUMENT_ROOT').'/ads/phpadsnew.inc.php'); if (!isset($phpAds_context)) $phpAds_context = array(); $phpAds_id = view ('', 1, '_blank', '', '1', $phpAds_context); ?> Quote:
|
#2
|
|||
|
|||
anyone? i really need this
|
#3
|
||||
|
||||
hmm it looks liek you might have something censored in that or something. instant message me at zajako2 ill take a look.
|
#4
|
|||
|
|||
i was told that phpadsnew didnt close connections so thats what im looking for
|
#5
|
|||
|
|||
Try adding mysql_close() before ob_end_clean().
|
#6
|
|||
|
|||
// This code is PHP4 only:
// ob_start(); // require("yourheader.html"); // $header = ob_get_contents(); // ob_end_clean(); include("vbs_counter.php"); ob_start(); require('side.php'); $side = ob_get_contents(); ob_end_clean(); ob_start(); require('ads.php'); $ads = ob_get_contents(); mysql_close(); ob_end_clean(); and still same problems |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|