PHP and CURL

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
dstefani
Forum Contributor
Posts: 140
Joined: Sat Jan 11, 2003 9:34 am
Location: Meridian Idaho, USA

PHP and CURL

Post by dstefani »

I've recently had to create a mechant card authorization connection script using PHP. At first I tried to do it not using Curl, instead using fsockopen with SSL://, what a pain trying to get the server set up to work with that. Fortunatly I'm working on a dedicated server and I have control over the box. I upgraded the box to 4.3.3 with opensll and curl and now all is well.

What I'm writing about is...
I need some compelling way to encourage my hosting company to upgrade his shared servers to the latest PHP and configure them to use OpenSLL and Curl. He is dragging his feet because he has to reconfigure Apache as well as PHP. I have not used Curl before, how important of a library is it? From what I can see, the easiest way to make HTTPS connections without a form in PHP is with Curl. Is this true? Is there a PHP "out of the box" way to do this? Or should I look for a new hosting company?

Thanks,

D
Post Reply