We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

curl instead of url_fopen [Answered] | Forum

Asif
Asif May 15 '13
can any one tell me how to use curl instead of url_fopen 

my server dont support url_fopen it supports curl

The Forum post is edited by Alia May 30 '13
dave Leader
dave May 15 '13

Are you sure?   url_fopen is pretty standard.  Did you check to see if it was turned off in your php.ini file..

 

check your php ini file for this  allow_url_fopen = Off   if that is there you can just comment it out if you want like so  (the semi-colon indicates a comment) in ini file. 

 

;allow_url_fopen = Off

 

Or change it to On whichever you want.

 

I keep mine commented out all the time.  

The Forum post is edited by dave May 15 '13
Asif
Asif May 16 '13
my hosting server dont support url_fopen
Alia Team
Alia May 21 '13
Asif, Oxwall needs url_fopen to be enabled and unfortunately I can't help you with your question.
dave Leader
dave May 21 '13

It would take some special coding to change that over to curl.  And then every time you update you will need to convert it again and again and again.

 

So i would recommend that you get with your host and have them enable url_fopen or change hosting companies.  It sounds to me like your host is very limited in features, there are much better hosts out there.