Popup and/or mail (request)
|
|
Hi to all,
Further, I'm tryng to understand how can i send an email someon could post a string? Thank you in advance
|
|
|
Ive created a file mail.php and putted it in mysite.altervista.org/mail/mail.php i've modified var externalUrl = ""; in var externalUrl = "mysite.altervista.org/mail/mail.php"; (it's correct?) this is the script of the mail: <?php $to = "recipient@example.com"; $subject = "Hi!"; $body = "Hi,\n\nHow are you?"; if (mail($to, $subject, $body)) { echo("<?>Message successfully sent!"); } else { echo("<p>Message delivery failed...</p>"); } ?> |
|
|
Ok, i'm still tryng (I hope my tests help somone...)
1) how can i post the NAME of the village under attack?
|