0
If there was a list of 10 sites, or more, using Curl to connect and puck content from each site, which would be the most effective way, which would give less time between one connection and another.. That is, what good practice for this case, something like:
Start Curl -> set options-> close, and start again for the next site,.
Obs: the options, as they are the same for all the sites I will connect, I can create an array and use the curl_setopt_array
, not to be a giant code.
opening and closing connection to each site, considering that the Curl options would be the same, the only different would be the curlopt_url
..?