duhuskermeg
08-08-2001, 02:36 PM
Hi all!
I have modified the mail.php to include multiple variables from flash. However, I cannot get it to work properly. Can anyone tell me what I'm doin' wrong here?
The original mail.php file:
<?php
mail("[email protected]", "Påmelding til" $KursID, $message, "From: AOF Kursbestilling\nReply-To: $from\nX-Mailer: PHP/" . phpversion());
?>
The modified file (the message-variable is replaved by multiple variables from flash):
<?php mail("[email protected]", "Påmelding til" $KursID,
"Påmelding til kurs hos AOF"\n\n
"Fornavn" $fornavn\n
"Etternavn" $etternavn\n
"Fødselsdato" $fdato\n
"Adresse" $adresse\n
"Postnummer" $postnr\n
"Poststed" $poststed\n
"Telefon" $telefon\n
"Mobil" $mobil\n
"Epost" $email\n\n
"Kursnummer" $KursID\n
"Kurs" $kurs_beskrivelse\n
"Sted" $kurs_sted\n
"Start dato" $kurs_startdato\n
"Start kloke" $kurs_startklokke\n
"Kursavgift" $kurs_avgift\n
, "From: AOF Kursbestilling\nReply-To: $email\nX-Mailer: PHP/" . phpversion());
?>
You see the point? I want to include the variables from my form in flash to a dynamic email-reply.
Thanx in advance! :)
TranceMore
I have modified the mail.php to include multiple variables from flash. However, I cannot get it to work properly. Can anyone tell me what I'm doin' wrong here?
The original mail.php file:
<?php
mail("[email protected]", "Påmelding til" $KursID, $message, "From: AOF Kursbestilling\nReply-To: $from\nX-Mailer: PHP/" . phpversion());
?>
The modified file (the message-variable is replaved by multiple variables from flash):
<?php mail("[email protected]", "Påmelding til" $KursID,
"Påmelding til kurs hos AOF"\n\n
"Fornavn" $fornavn\n
"Etternavn" $etternavn\n
"Fødselsdato" $fdato\n
"Adresse" $adresse\n
"Postnummer" $postnr\n
"Poststed" $poststed\n
"Telefon" $telefon\n
"Mobil" $mobil\n
"Epost" $email\n\n
"Kursnummer" $KursID\n
"Kurs" $kurs_beskrivelse\n
"Sted" $kurs_sted\n
"Start dato" $kurs_startdato\n
"Start kloke" $kurs_startklokke\n
"Kursavgift" $kurs_avgift\n
, "From: AOF Kursbestilling\nReply-To: $email\nX-Mailer: PHP/" . phpversion());
?>
You see the point? I want to include the variables from my form in flash to a dynamic email-reply.
Thanx in advance! :)
TranceMore