Jump to content

Calling Files Using Require_once('http://site.com/includes/header.php');


Norman
 Share

Recommended Posts

Using require_once('http://site.com/includes/header.php'); I get an error:

Warning: require_once() [function.require-once]: URL file-access is disabled in the server configuration
Then, this mean that allow_url_include in disabled, right? Ok, let's say I can't enable this one from my PHP.ini. What can I do to solve this problem?Note: I will have to inlcude files only from the same website, not from another external website. Edited by Norman
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...