I just create a front end form to submit posts for public persons.

It works fine.

I need to allow to submit PHP codes (because it is PHP tutorial site) via that form. I need to make sure it not damage my site.

How to make it secure?


Running forms through the_content filter should be fine.

  • Sorry, I have no idea what type of codes should I run through the_content filter. – Damithaa May 28 '16 at 7:29
  • All of your form input values. – Nathan Powell May 28 '16 at 7:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.