Hey again,
I've tried to give the dynamic textfield different var. names, (and changed simultaneously the name on the SendEcard.php), but that doesn't seem to help.
I am using Flash mx 6.0 and will send you my Ecards fla file, Could you be so kind and take a look at it? I hope that you'll find out what I've been doing wrong.
Here's my SendMail.php
<?
$CreateEcard = date(U);
$filename = $CreateEcard.".txt";
$ToName = stripslashes($ToName);
$FromName = stripslashes($FromName);
$Greeting = stripslashes($Greeting);
$IntroMessage = stripslashes($IntroMessage);
$EndMessage = stripslashes($EndMessage);
$Today = (date ("l dS of F Y ( h:i:s A )",time()));
$Created="Ecard Created on $Today";
$EcardNum = $EcardSelect;
$EcardText = "ToName=$ToName&ToEmail=$ToEmail&FromName=$FromName&FromEmail=$FromEmail&Greeting=$Greeting&IntroMessage=$IntroMessage&Created=$Created";
$fp = fopen( "./dBText/$filename","w");
fwrite($fp, $EcardText, 10000);
fclose( $fp );
######Email Card########
## You can change the subject and the message part around.
## Make sure to change the Link as stated in the Tutorial.
## (Change from 'someSite' to your actual site - leave the rest the same
$ToSubject = "Du har fått et emailkort av $FromName";
$Message = "$ToName,\nDu har fått et flashkort fra $FromName. \nKlikk og kikk på ditt kort:\n\n
http://www.kikk.info/SelectCard.php?EcardText=$CreateEcard&ENum=$EcardNum\n\n-----------------------------------\nHer er meldingen som ble send:\n$ToName,\n$Greeting\n$IntroMessage\n\n-$FromName\n\n\n-----------------------------------\nDette kortet har blitt send med Kikk.info";
###################
## This line actually sends the email - you should not have to change this.
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$FromName." <".$FromEmail.">");
## This next line returns a success message to the movie.
print "_root.Sukses=Gratiss, ditt kort har blitt send";
?>
[/table]
Thanks for taking the time to help me, I appreciate it very much!!