Converting Form Text Fields

Sanitising for HTML from a form POST If server magic quotes is turned on then it will add / before a single and double quotes in the text, so strip them out first: \n new line characters will still be stored as \n (htmlspecialchars() doens’t convert them to <be>). You can convert them now using […]

Read More

Simple Site Log In Form

In the head of each page add this Note this must be before any html header are sent (i.e. in php code before html output) Use this as the log in page Use this as an optional log out page

Read More