HI,
I have a contact page made in Flash and it has a range of variables such as "txtName" etc on the page, in the swf movie. My code on the submit button is as follows:
on (release) {
loadVariablesNum("send.php", 0, "GET");
nextFrame();
}
Unfortunately the email is sent and arrives without the variables that are listed on the page. The "send.php" code is listed below:
<?php
$sub = "Contact From Sunlinemedia Website";
$msg="<table width='500' align='left'>
<tr>
<td> Name : </td><td> $txtName </td>
</tr>
<tr>
<td> Title : </td><td> $txtTitle </td>
</tr>
<tr>
<td> Company : </td><td> $txtCompany </td>
</tr>
<tr>
<td> Address : </td><td> $txtAddress </td>
</tr>
<tr>
<td> City : </td><td> $txtCity </td>
</tr>
<tr>
<td> State : </td><td> $txtState </td>
</tr>
<tr>
<td> Postcode : </td><td> $txtPcode </td>
</tr>
<tr>
<td> Telephone : </td><td> $txtTele </td>
</tr>
<tr>
<td> Facsimile : </td><td> $txtFac </td>
</tr>
<tr>
<td> Email : </td><td> $txtEmail </td>
</tr>
</table>";
$emal = $txtEmail;
$eml = "greg@sunline.com.au";
// add another header
$headers = "From:" . $emal ."\nReply-To: " .$emal. "\nContent-Type: text/html; charset=iso-8859-1;";
mail("$eml", "$sub", "$msg", "$headers");
?>
Can someone please help me with this one?
Thanks Greg.