The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PHP Direct Execution HELP !!!! pls
Hi all
i want to pull a static html file which is generated by another script on my site into the CMS but i have really no idea how best to do this it was suggested that i try something like <?php include("http://www.othersite.com/filename.html"); ?> via a widget well i have fairly limited php programming skill and have tried the following ob_start(); include ("http://www.mysite.com/myfile.html"); $output .= ob_get_contents(); ob_end_clean(); but this does not work i just get the following error - i would be greatly appreciative if someone knows how to do this Warning: include() [function.include]: URL file-access is disabled in the server configuration in [path]/packages/vbcms/widget/execphp.php(177) : eval()'d code on line 4 Warning: include(http://www.mysite.com/myfile.html) [function.include]: failed to open stream: no suitable wrapper could be found in [path]/packages/vbcms/widget/execphp.php(177) : eval()'d code on line 4 regards Anthony |
#2
|
||||
|
||||
URL file-access is disabled in the server configuration
I think allow_url_fopen should be ON in PHP configuration (php.ini) |
#3
|
|||
|
|||
it is on hmmm any other suggestions
--------------- Added [DATE]1271489189[/DATE] at [TIME]1271489189[/TIME] --------------- this works ob_start(); include("grab.html"); $output .= ob_get_contents(); ob_end_clean(); |
#4
|
|||
|
|||
I had the same problem yesterday, the other thing you can do is specify an absolute server path like "/h27503895834/public_html/htdocs/Forum/file.php"
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|