Forum Moderators: coopster
i have been informed that I "could" overide this with:
php_flag allow_url_fopen on
but that this is a bad idea.
Is there another way?
I have heard of this:
$_REQUEST[file]
Can that help me, and any pointers to stop me getting this error:
Warning: fopen(): URL file-access is disabled in the server configuration
Cheers
allow_url_fopendirective is of type
PHP_INI_SYSTEM, which means the entry can be set in php.ini or httpd.conf, that's it. So if you don't have access to either of those configuration files, that route won't work.
Other ideas? Well, depends on how strict they have you locked down, but you could try the CURL functions [php.net] or maybe opening your own socket?