The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
i have already posted this post on the programming forum but i believe it fits better on this forum. Sorry. I can't delete or move it...
--------------- Hello, I've read all about including a php file but i'm having issues. More precisely, speed issues. I've utilized the plugin system and hook at global_start to include a php file in my header like this: Code:
ob_start(); include('http://www.mysite.com/header/header.php'); $fanclubheader = ob_get_contents(); ob_end_clean(); Code:
$fanclubheader <!-- content table --> $spacer_open $_phpinclude_output $ad_location[ad_header_end] PHP Code:
Sometimes (not all the time), i'm getting this in the header: Warning: include(http://www.mysite.com/header/header.php) [function.include]: failed to open stream: Connection timed out in [path]/global.php(400) : eval()'d code on line 2 Warning: include() [function.include]: Failed opening 'http://www.mysite.com/header/header.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/global.php(400) : eval()'d code on line 2 Any idea what the problem could be? I can't figure out this one. Thanks in advance for all your help Marco |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|