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:

  • fsockopen disabled
  • allow_url_fopen disabled
  • no support socket extension
  • no support curl extension

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

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -