What is faster than curl?

前端 未结 1 1235
长情又很酷
长情又很酷 2020-12-21 13:00

I\'m trying to build out a script that creates domain API registration URLs and sends them through the appropriate API to complete the registration. Right now I\'m using cur

相关标签:
1条回答
  • 2020-12-21 13:45

    I was once in a position where cURL was not an option by the constraints of the project I was working on. I learned about streams and ended up using code similar to what is in this article. http://wezfurlong.org/blog/2006/nov/http-post-from-php-without-curl/

    That is only another method, I've never compared efficiency. There is another thread on SO asking a similar question. I would assume that each has its advantages in various circumstances.

    Is the PHP CURL api cleaner/faster/better than using streams for HTTP/HTTPS access?

    0 讨论(0)
提交回复
热议问题