Okay, well I found a way to do it, using cURL (which I do have installed on my server). Here's the code:
$URL="www.theurl.com/script.php";
$ch = curl_init();___
curl_setopt($ch, CURLOPT_URL,"https://$URL");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "email=$emailaddress&firstname=$firstname&lastname=$lastname");curl_exec ($ch);____
curl_close ($ch);
But when I do it, I get the following error message:
Parse error: parse error, unexpected T_STRING in /home/msilber/public_html/mailform.php on line 4
Line 4 is: curl_setopt($ch, CURLOPT_URL,"https://$URL");
I can't figure out what's wrong here. Anybody know?