Travian under-attack check

By m4rtini Last update Dec 19, 2008 — Installed 121,088 times.

Popup and/or mail (request)

in
Subscribe to Popup and/or mail (request) 3 posts, 1 voice



runner75 User

Hi to all,
I've not the possibility to eard the sound.... instead of it I'm wondering if it's possibile to pout a popup with a message.
Anibody can help me?

Further, I'm tryng to understand how can i send an email someon could post a string?

Thank you in advance
runner75

 
runner75 User
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>"); } ?>
 
runner75 User

Ok, i'm still tryng (I hope my tests help somone...)
:D

1) how can i post the NAME of the village under attack?
2) if i'v 2 account on different servers and mail, how can i send the mail to the right mail?

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel