EE 1.6.8 with MSM. Template is PHP enabled on INPUT.
{exp:freeform:entries}
<?
$email_address = '{x_ff1e}';
$join_mail = '{joinlist}';
if (isset($join_mail)) {
$postfields="email_address=".$email_address;
$url = 'http://oi.vresp.com?fid=5724d2d65c';
$ch = curl_init(); // initialize curl handle
curl_setopt($ch, CURLOPT_URL,$url); // set url to post to
curl_setopt($ch, CURLOPT_FAILONERROR, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);// allow redirects
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); // return into a variable
curl_setopt($ch, CURLOPT_TIMEOUT, 3); // times out after 4s
curl_setopt($ch, CURLOPT_POST, 1); // set POST method
curl_setopt($ch, CURLOPT_POSTFIELDS, $postfields); // add POST fields
$result = curl_exec($ch); // run the whole process
curl_close($ch);
echo $result;
echo 'Your email address ' .$email_address. ' has been added to the Plancars Mailing List as requested. We never pass on your details to other organisations or send SPAM emails.';
}
?>
{/exp:freeform:entries}
I don’t know enought about open_basedir but I haven’t knowingly changed anything.