The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
So I am trying to include a .php file I made that includes the following:
Code:
$arr_images = array('<script type="text/javascript"><!--'. "\n" . 'google_ad_client = "pub-9713982568167945";'. "\n" . 'google_ad_width = 728;'. "\n" . 'google_ad_height = 90;'. "\n" . 'google_ad_format = "728x90_as";'. "\n" . 'google_ad_type = "text";'. "\n" . 'google_ad_channel ="";'. "\n" . '//--></script>'. "\n" . '<script type="text/javascript"'. "\n" . 'src="http://pagead2.googlesyndication.com/pagead/show_ads.js">'. "\n" . '</script>'. "\n", '<img src="http://www.thepartylive.com/banners/BANNER468X60-2.gif" alt="whatever" width="120" height="67" />') echo array_rand($arr_images); I uploaded it and used this code in php_includestart: Code:
ob_start(); require("http://www.volconvo.com/forums/banner.php"); $banner = ob_get_contents(); ob_end_clean(); Code:
$arr_images = array(''. "\n" . ' So either my code is messed up or I am not linking to it properly. Anyone want to guess? Thanks |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|