ArnisR Posted December 28, 2010 Report Share Posted December 28, 2010 (edited) Tātad ir vienkārša kontaktu forma, kas PHP skriptam nodod trīs POST mainīgos: e-mail, subject un message. Kādi galvenie drošības pasākumi būtu jāievēro pie datu validācijas? Edited December 28, 2010 by ArnisR Quote Link to comment Share on other sites More sharing options...
andism88 Posted December 28, 2010 Report Share Posted December 28, 2010 (edited) Ja dati tiek padoti mysql datubaazei tad galvenais salikt mysql_real_escape_string; tālāk jau pēc gaumes, var pārbaudīt vai epasts ir epasta formaataa vai arii suutiit epasta paarbaudi utt.. --- ā vēl vari izmantot htmlentities() Edited December 28, 2010 by andism88 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.