Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Best way to sanitize / filter user input?
#7
(06-06-2010, 09:41 AM)Omniscient Wrote: One of the best things you can do is to create your own function to quick sanitize input. This will allow you a greater degree of control and options plus you can upgrade and alter your sanitize function which will work across your whole site.

Look into this too:
http://us2.php.net/manual/en/ref.filter.php

That's only php 5 compatible but it looks great. Lots of options to filter input.

Pretty cool stuff: http://us2.php.net/manual/en/filter.filt...nitize.php

That's a good idea. Thanks.
Robert Picard
http://www.rpicard.net
Reply


Messages In This Thread
RE: Best way to sanitize / filter user input? - by RPicard - 06-08-2010, 10:58 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP email input form - having trouble getting the form to work... abayindi 4 2,734 03-19-2012, 10:02 AM
Last Post: RainbowDashFTW
  PHP Form to Email (And the form input as VCF Attachment)? VypeR 1 3,871 10-27-2010, 06:01 AM
Last Post: VypeR
  User Management Script - User Cake Support 9 5,623 05-13-2010, 03:21 PM
Last Post: Julie

Forum Jump:


Users browsing this thread: 2 Guest(s)