i’m submitting vars from flash to a simple PHP script which needs to compose an email with the vars… it no worky! what am i doing wrong?
<?php
$iname=$iname;
$iphone=$iphone;
$iemail=$iemail;
$recip=$recip;
$idate=$idate;
$itime=$itime;
$iprop=$iprop;
$msg = "Message from:$iname (via Savannah Lakes website)
";
$msg .= "Requested on:$idate at:$itime
";
$msg .= "Regarding Property:$iprop
";
$msg .= "Contact Info for_$iname
";
$msg .= "phone:$iphone
";
$msg .= "email:$iemail
";
$from=$iemail;
$mailheaders = "From: ( $from )<>
";
$mailheaders .= "Reply-To:_$iemail
";
$to="_$recip";
mail($to, $subject, $msg, $mailheaders);
$status=“good”;
echo $status;
?>