tags:

views:

46

answers:

1

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 understand both do the same thing... or i'm getting something wrong?

+1  A: 

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()*

Mark