Does anyone knows How to bounce (RePost, exactly the same way) an array (datas) previously posted to my page ?
Here is how i do by now, guess it's not the best way :
Received datas
$_datas = $_REQUEST;
and how i rePost ?
$ch = curl_init();
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_URL, 'http://website.com/new_script.php');
curl_setopt($ch, CURLOPT_POSTFIELDS, $_datas);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$result = curl_exec($ch);
Anyone has an idea ? Please ;)