What to use if i want to repeat set of parameters in php libcurl session

前端 未结 1 1101
说谎
说谎 2021-01-26 17:41

I\'m trying to do multiple things in curl and obviously some parameters in each step will be the same... should i use curl copy handle or curl setopt array? As far as i understa

相关标签:
1条回答
  • 2021-01-26 18:13

    Can't see any benefit to using one or the other. The only difference I can see is curl_setopt_array() is only available as of php 5.1.3.

    curl_setopt_array() does seem somewhat cleaner as opposed to using a bunch of curl_setopt()

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