Edit all_url_fopen in Runtime

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Currently in PHP, you cannot use ini_set() to edit allow_url_fopen
during runtime. Has anyone found a workaround or has any other ideas so
that I can use fopen() and file_get_contents() on a file hosted
somewhere else?

Michael Boutros

Re: Edit all_url_fopen in Runtime

Quoted text here. Click to load it

If your server administrator won't give you allow_url_fopen, how about  
checking whether the curl extension is installed?

Photos from 40 countries on 5 continents: http://travel.u.nu
Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
Airports of the world: http://airport.u.nu

Site Timeline