I have this script ProtectedLinks from CodeCanyon. It make temporary links using form inputs. I needed it's functionality. so I decided to use CURL. First, Did I make the right decision?
In my project, I have to send for example 30 CURL request (direct links and other $_POST data needed by the page which takes these data and convert them to temporary links and store it in a database) to this page. It's a heavy work.
It sometimes make my page stop and insert half data which is very unpleasant. What should I do?
Is there a way I send one request, with one array consisting all data, while doing the same thing.
This is my data:
$fields = array
(
'url' => $url_to_be_coded,
'f_name' => "Package " . $product_id,
'f_title' => "Package " . $product_id,
'f_desc' => "Part" . $part,
'usertype' => 'm',
'exptime' => '72',
'exprespect' => 'L',
'authority' => "User Requested Again",
'part_number' => $part
);
I want to send a lot of this, in one request or call. with the same keys where number of items in array is not clear. and of course process this data in landing page