This PHP script controls a SQL database through email commands.
It is only for demonstration purpose.
Send an email to upload@xchem.de with the following subject:
"/XXX/ Headline" where "Headline" is a text entry of your choice and the preceding blank is optional.
"XXX" stands for one of the following commands:
NEW to enter a new entry with the title "Headline" into the database
MOD to modify the entry with the title "Headline" in the database
DEL to delete the entry with the title "Headline" in the database
Then press the "Update" button to enquire the pop3 mail server and to process and display the changes in the database.
Author | Date | Subject | Body | |
---|---|---|---|---|
Wolfgang Schaefer <schaeferwo@web.de> | 1970-01-01 01:00 | Test | This is an example for a text uploaded to the database by email. ______________________________ _____________________________ GRATIS f=C3=BCr alle WEB.DE Nutzer: Die maxdome Movie-FLAT! | |
Wolfgang.Schaefer@clariant.com | 1970-01-01 01:00 | Blackberry | --0__=4EBBFD3ADFFC173F8f9e8a93 df938690918c4EBBFD3ADFFC173FCo ntent-type: text/plain; charset=ISO-8859-1Content-tran sfer-encoding: quoted-printableUpload testDr. Wolfgang Sch=E4ferClariant International Ltd.=--0__=4EBBFD3ADFFC173F8f9 e8a9 | |
Wolfgang Schaefer <Wolfgang.Schaefer@clariant.co m> | 1970-01-01 01:00 | 2. Versuch | Umstellung auf php5= | |
"Wolfgang Schaefer" <schaeferwo@web.de> | 1970-01-01 01:00 | PHP Update | <html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Test des Skripts nach Umstellung auf PHP 7.2</div></div></body></html> |
© Wolfgang Schäfer, Hölstein/Switzerland 2010