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.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Does Hostlantern support PHP HTTP Authorization?

Hostlantern supports the PHP HTTP Authorization and in order to enable it you need to add the...

Is PHP Safe Mode turned Off on Hostlantern’s servers

PHP Safe Mode is by default turned off for all PHP versions available on Hostlantern servers....

How to enable zlib compression manually for PHP scripts

PHP Zlib module allows you to transparently read and write gzip compressed files. Thus it is used...

What is SourceGuardian and how to use it?

SourceGuardian is commercial software which allows you to securely encode, compile and encrypt...

How to install Smarty Template Engine

Follow the steps below to install Smarty Template Engine on your hosting account: Download the...