Only send posts that have not been sent before; ID of last post is saved in $lastfile; HTML fixes

This commit is contained in:
Konrad Wojas
2014-03-31 00:06:08 +08:00
parent 170179b5c3
commit bfbcd72cb2
3 changed files with 50 additions and 17 deletions

View File

@@ -13,3 +13,5 @@ date_default_timezone_set("Europe/Helsinki");
$mail = "your@email.com";
$from = "xkcd mailer <xkcdmailer@example.com>";
// File to write ID of last post to
$lastfile = "last.txt";