Jump to content

Secure search form processing - best practice?


HerTha
 Share

Recommended Posts

Well, there's a plethora of PW sanitizer methods: https://processwire.com/api/ref/sanitizer/

A good combo might be:

https://processwire.com/api/ref/sanitizer/chars/

https://processwire.com/api/ref/sanitizer/min-length/

And of course native PHP has many methods you can use in addition to the PW API functions (some of them are just wrappers or combinations of native methods).

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...