Hey guys,
Quick question. Does anyone know is enabling curl with PHP is a standard in the web hosting industry? In other words, if I develop something that thousands will use on a wide variety of servers, is a curl requirement going to cause a headache for most people? Or do the majority of web hosts out there already have curl enabled, so they'll be able to install the software without any problem?
Assuming it'll be used on hundreds of different web hosts, should I make the software dependant on curl, or write my own code to take care of it?
Thanks alot,
Matt
Is curl standard for hosts?
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
always write a wrapper to external systems. Depending on your goals, I'd suggest you write your wrapper to work with cURL as well as fsockopen(), maybe even fopen()
I'm sorry, but what would be the advantage of that? In that case, why wouldn't I just write the software to use only fsockopen() if basically every server with PHP supports it, instead of a wrapper that supports all three? I'm sure there's an advantage in doing so, but I can't see it. Any advice?
Thanks,
Matt
Thanks,
Matt