The problem is that using the mail() function in PHP doesn't seem to work at all. So I can't check if the parameter pass has even worked at all. I have in a previous design tested this passing with the Get() function but once again was baffled by the fact that it did not work.
Here is the ActionScript that I have placed on a button in the Flash:-
Code: Select all
on (release)
{
name="Thanks for the contact";
loadVariablesNum("phpflash.php", 0, "POST");
}Code: Select all
<?php
$email_from = "Biznuge Designs";
$email_subject = "Thanks for the contact";
$email_txt = "$name";
$email_to = "biznuge@biznuge.co.uk";
$headers = "From: BizNuge designs";
$ok = mail($email_to, $email_subject, $email_txt, $headers);
?>I have also visited http://uk2.php.net/manual/en/ref.mail.php and think I have set the SMTP setting and so on, but have only changed these settings in my system32 folder.
Any help with this would be useful, but please bear in mind that I am a first class beginner at this. I understand the principle behind this parameter passing, but that is all...