Knowledge Base Article

How to include remote code in Php 5.2

By default remote code inclusion is not allowed in Php 5.2. This is an important security improvement over the previous versions.

However, some scripts may require to include remote code in order to work properly. For this purpose create a php.ini file and specify the following line:

allow_url_include=on

This will change the default Php directive and allow you to include remote code in your scripts. Copy this php.ini file in each directory you'd like to have the setting applied.



Rating

Please indicate if this article was helpful for you.

rating :  4.6 from 5
views :  1413
votes :  22

Related Articles

Views

Haven't found what you are looking for? Suggest an article HERE.

powered by

Valid XHTML 1.0 Strict Valid CSS!