Title: Is PHP sanitization needed?
Last modified: August 31, 2016

---

# Is PHP sanitization needed?

 *  Resolved [Igor Lopasovsky](https://wordpress.org/support/users/igorlopasovsky/)
 * (@igorlopasovsky)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/is-php-sanitization-needed/)
 * Hi Takayuki,
 * I am sorry to have so many questions lately but I am not able to find this information
   anywhere and want to be sure my code is safe.
 * I currently customised Contact Form 7 and used it for user registration purposes.
   Everything works great thanks to your documentation. Just one question – do you
   verify/sanitize all input fields by default or do I have to handle it in my code?
 * Many thanks for help.
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/is-php-sanitization-needed/#post-7292337)
 * No. If you use submission data for other purpose than plain text email, of course
   you need to sanitize text on your own.
 *  Thread Starter [Igor Lopasovsky](https://wordpress.org/support/users/igorlopasovsky/)
 * (@igorlopasovsky)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/is-php-sanitization-needed/#post-7292351)
 * Thank you very much for reply. I will do so.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Is PHP sanitization needed?’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Igor Lopasovsky](https://wordpress.org/support/users/igorlopasovsky/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/is-php-sanitization-needed/#post-7292351)
 * Status: resolved