How do I post them to whatever page from here and how can I send these variables to several pages at the same time?
//catched those variables within the same page
$event = $_POST['event'];
$when = $_POST['eventdate'];
$where = $_POST['place'];
$name = $_POST['name'];
$tel = $_POST['tel'];
$email = $_POST['email'];
send $event, $when, $where, ... to("whateverurl1");//not the way
POSTing data to an URL can be done with the curl extension, which allows one to send HTTP requests from PHP.
In your case, something like this might do the trick :
For more informations you might want to take a look at the manual page of
curl_exec, and for more options (there are a lot of possible options !), see curl_setopt.Here, the most important ones are :
CURLOPT_URL: to specify the URL to which you want to post your dataCURLOPT_POST: as you want to send an HTTP POST request — and not GET, which is the defaultCURLOPT_POSTFIELDS: to specify the data that you want to sendBut note this will not send several queries in parallel — maybe
curl_multi_execand the othercurl_multi_*functions could help, there…