Jump to content

allow_url_include and allow_url_fopen not working - urgent


prakash

Recommended Posts

I have tried overriding the master value for allow_url_include and allow_url_fopen locally from .htaccess

other overriding value like registry_globals etc were working fine but allow_url_include and allow_url_fopen doesn't works.

 

I have tried same in PHP 5.2.2 and 5.1.6 but it's not working on both.

 

Please let me know how to fix it or which version to downgrade to support it.

Please kindly request to reply ASAP, it's little bit urgent for me.

 

Thanks in advance

Link to comment
Share on other sites

These values can only be changed within the main php.ini. Nothing you can do except find a host that supports them.

 

Actually I need those value to be set 'on' for some a/c and 'off' for some

so if i set the value from php.ini it will be applied as global.

so instead of that I need to override those values from .htaccess and this is currently not supporting on PHP 5.2.2

 

any help?

Link to comment
Share on other sites

These values can only be changed within the main php.ini. Nothing you can do except find a host that supports them.

 

Actually I need those value to be set 'on' for some a/c and 'off' for some

so if i set the value from php.ini it will be applied as global.

so instead of that I need to override those values from .htaccess and this is currently not supporting on PHP 5.2.2

 

any help?

 

In order to override apache or php needs to allow the init_set override or the .htaccess override. Most hosts (if shared) disable that so people cannot change the settings.

Link to comment
Share on other sites

These values can only be changed within the main php.ini. Nothing you can do except find a host that supports them.

 

Actually I need those value to be set 'on' for some a/c and 'off' for some

so if i set the value from php.ini it will be applied as global.

so instead of that I need to override those values from .htaccess and this is currently not supporting on PHP 5.2.2

 

any help?

 

In order to override apache or php needs to allow the init_set override or the .htaccess override. Most hosts (if shared) disable that so people cannot change the settings.

 

actually I have my own server and currently enabled .htaccess overriding

everything works (eg. registry_globals overriding etc) but allow_url_include and allow_url_fopen is not overriding it's master value.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.