Just Host Web Hosting Help
Allow_url_include
In the newer versions of PHP, they have included a new directive to control and handle remote includes. We disable this option, by default, which may affect some of your PHP scripts.
How to enable Allow_url_include
In your php.ini, put the following line:
allow_url_include = 1
This enables remote includes.
Note: This requires allow_url_fopen =1 as well, so you may want to search through your php.ini and make sure that is enabled. Also, you will need to copy your php.ini into the directory on your server where the script is which is calling this directory. For example, if you have a script in public_html/blog/ that needs this setting, then copy the php.ini into public_html/blog.
122,547 views
bookmark
share
tags: include php remote url
Recommended Help Content
Related Help Content
887,471 views
tags: htaccess messing mod php redirect redirects rewrite variable variables
E-mail
Twitter
Google Bookmarks
Facebook
MySpace
Digg
Reddit
Delicious
LinkedIn
StumbleUpon