Securing form inputs with PHP

FILE AND FOLDER SETUP FOR BUILDING A WORDPRESS THEME FROM SCRATCH

Many beginner developers often forget about the folders and files required when building a Wordpress theme from scratch. No worries - this article is a good reminder of the files and folders needed.

To start with, this is the overall folder organisation needed: Image of a code example of a prepared statement for SQL

Now onto the files. The required files for a PHP theme are as follows:

Image of a HTML pop up alert - avoid encouraging this to happen

The following files aren't necessarily required, however this is a good way to organise your files:

PHP code using specialchars and stripslashes in a form input


<< BACK