Edit all_url_fopen in Runtime

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michael Boutros

    Edit all_url_fopen in Runtime

    Hello,

    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_conten ts() on a file hosted
    somewhere else?

    Thanks,
    Michael Boutros

  • Miguel Cruz

    #2
    Re: Edit all_url_fopen in Runtime

    "Michael Boutros" <michael.boutro s@gmail.comwrot e:
    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_conten ts() on a file hosted
    somewhere else?
    If your server administrator won't give you allow_url_fopen , how about
    checking whether the curl extension is installed?

    miguel
    --
    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

    Comment

    Working...