justlukeyou
-
Posts
957 -
Joined
-
Last visited
Posts posted by justlukeyou
-
-
Thanks,
My page reads this. "URL file-access is disabled in the server configuration"
I have found this but it relates to include which works: http://www.learnphponline.com/errors/url-file-access-is-disabled-in-the-server-configuration
I have in a few places that you shouldn't switch the option on because it cancels the securiry measure.
-
I had a website running a XML script which worked perfectly but I have updated it by using XMLReader and PHP 5. However, there is a security update on PHP 5 which prevents me from accessing files on my server.
Someone has suggested I add a php.ini file with the following:
allow_url_fopen = on
allow_url_include = on
However I have also read that the whole purpose of the security update is to prevent this. Can someone advise me how I can get around this issue so that my server can read files and still operate by the PHP5 security update.
Any help would be greatly appreciated.
PHP5 Security Block!!
in PHP Coding Help
Posted
Thats great thanks, how do I do that?
I have set up a htaccess file to tell it to upgrade to PHP5. My host requested me to do this.
But I can not include pages in that same folder. So do I need to add something to the htaccess file.
Do I add this: allow_url_fopen = on to that .htaccess file?