php - How to open a remote resource with fsockopen and allow_url_fopen disabled, no socket (extension) support, and no cURL support? -
in php application wrote, have access remote resource (i.e. url) in possible situations/server configurations. have consider combination of configuration options.
so question is: how open remote resource fsockopen , allow_url_fopen disabled, no socket (extension) support, , no curl support?
is there other alternative?
there seems no way open remote resource via http following conditions:
fsockopendisabledallow_url_fopendisabled- no support
socketextension - no support
curlextension
the solution either provide files via other means (ftp (via php or manually), etc) or require server administrator relax security (for example remove fsockopen disabled functions list.
Comments
Post a Comment