Jump to content

why cURL?


Michdd

Recommended Posts

Yes, file_get_contents() does work outside of the server. And I know that with cURL you can send POST and GET values, but if you're not requiring any of that would be acceptable to use file_get_contents()? I just started studying the paypal API, and most examples use cURL, but since they're just querying a simple url with parameters and getting back the response it seems that it could be done simply with file_get_contents().

Link to comment
https://forums.phpfreaks.com/topic/166163-why-curl/#findComment-876283
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.