I need a little help, with something that happened today,
Created a tracking database, with a form with 8 fields to collect information.
1) Severity
2) Date
3) case #
4) Description
5) Contact
6) Owner
|drop down list
7) Category
|drop down list
8) Sub-Cat
|_drop down list
While updating the DB with a NEW RECORD, I used the "htmlspecialchars" to filter the input. Today, someone added a new record and used the text "Mirror" at the beginning of the "Description". The record was added, but the contents was a mirror image of the original text.
the syntax -
$description=(htmlspecialchars($notesall, ENT_QUOTES));
What else can I do to prevent the injection to MySql ??
😕