Is there a cURL Request Limit?

Status
Not open for further replies.

sweatycu

New Member
Messages
3
Reaction score
0
Points
1
I'm using the Free X10 Hosting and am using the curl_multi_exec method to request data from multiple URLs at the same time simply to be faster. I was requesting 3 URLs for 37 users (111 URLs) users with this method to get data. It always returns 20 and the rest are null. The URLs are good and contain the data. I tested this by limiting the method to only request 20 URLs and none were null and everything returned as it should. I then put it to 21 requests and 1 of the 21 were null. Does the Free Hosting have a limit of 20 requests? That's a bit low don't you think? Help would be greatly appreciated.
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
can you get the first 20 then the last 17 ??
 

sweatycu

New Member
Messages
3
Reaction score
0
Points
1
I use these lines to separate them into Chunks but I'm not sure how to go through the first Chunk and then the next one.

  1. $gamertags = $_POST['data'];
  2. $gamertagChunks = array_chunk($gamertags, 20);
Could you help?
 
Status
Not open for further replies.
Top