Jestem początkujacym programistą php.
Posiadam na swojej stronie możliwość zamieszczenia swojego emaila, by otrzymywać newsletter.
Ostatnio ktoś coś wpisał dwie poniższe ciągi:
Cytat
the\r\nContent-Transfer-Encoding: 7bit\r\nX-From: dec820ea7117362fb0af4ca2935ad321\r\nContent-Type: text/plain\r\nX-Mailer: QUALCOMM Windows Eudora Version 5.1.1\r\nSubject: by spraying the bacon with a liquid smoke extract\r\ncc: lilchic0074@ol.com,mhardt@yahoo.com,dinotto2@aol.com,yrivera@cs.com,\r\n amircomer@yahoo.com,banders1012@cableone.net,itsmetoo@ameritech.net,\r\n cpatrick_89@yahoo.com\r\n\r\neaten, has become a popular alternative to traditional bacon. ontents hide \r\n1 uring and smoking 2 uts of bacon\r\n\r\n\r\n\r\n.\r\n
oraz taki
Cytat
flip\r\nContent-Transfer-Encoding: quoted-printable\r\nX-Ayonne: 4e61c065687a09edae8822af8a37ece3\r\nContent-Type: text/plain\r\nX-Mailer: MailCity Service\r\nSubject: from\r\nto: roseybeek@bellsouth.com\r\nto: cjwbubbles@worldnet.att.net\r\nto: maira_nunez@cebridge.net\r\nto: topcopl2@aol.com\r\nto: jlr_3@comcast.net\r\nto: curtisa@hotmail.com\r\n\r\nthe following edroches with rotected denomination of rigin, from ndalusia. =\r\nberic am 100 acorn (bellota). uelva, a full flavored ham produced in adiz, =\r\nrdoba, uelva, laga, eville, and adajoz. uijuelo, from redos and jar, astile=\r\n, e n, xtremadura, and ndalusia. xtremadura ehesa, made\r\n\r\n\r\n\r\n\r\n\r\n.\r\n
Domyślam się, ze ktoś próbuje rozsiewać SPAM? Jak zapobiec takim praktykom i co te powyższe maila "narobiły"?
Jeszcze tylko dodam, że posiadam w formularzu ustawione MAXLENGTH, a i tak ktoś to wstawił, jak on to zrobił? Jak się przed tym zabezpieczyć?