curl - Alternative options for communicating with external server in PHP -


i using free web hosting platform disables following php functions: allow_url_fopen, fsockopen, pfsockpen, getrusage, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chgrp, realpath, link, exec, passthru, curl_init.

these functions being disabled means can't use curl or fsockopen communicate external server.

i have tried using file_get_contents mentioned here, following error message: file_get_contents(): unable find wrapper https - did forget enable when configured php?

being i'm on free hosting plan, don't know can php configuration. there other options communicating external server?

it looks either using free account , limitation of host non-paid accounts, or have not requested them enable outgoing communications on paid account.

from awardspace.com faq: (bolded area of interest)

15, cannot use rss feeds or curl on website?

the outgoing connections disabled default on accounts, they can enabled paid accounts upon request. need raise ticket hosting control panel -> support center -> trouble tickets , enable them you.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -