There is a contact form which current action is http://www.siteA.com/ContactInfo.php, it sends fields and values.
In ContactInfo.php, i just catch the values and se
You can try something like this using cURL (http://www.php.net/manual/en/curl.examples.php) ..
$sub_req_url = "http://www.siteB.com/Reg.aspx";
$ch = curl_init($sub_req_url);
$encoded = '';
// include GET as well as POST variables; your needs may vary.
foreach($_GET as $name => $value) {
$encoded .= urlencode($name).'='.urlencode($value).'&';
}
foreach($_POST as $name => $value) {
$encoded .= urlencode($name).'='.urlencode($value).'&';
}
// chop off last ampersand
$encoded = substr($encoded, 0, strlen($encoded)-1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $encoded);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_exec($ch);
curl_close($ch);
Shamly