Re: How to do Validating and Sanitizing in PHP?
You should know that data validation is an integral part of working with forms. Using the filters are very important because an invalid submitted data may lead to security problems and also it can break your web-page. So I would like to recommend you to use the filters in your program to keep the web page safe. You can validate data by using the "filter_var" function. Validation is used to ensure that the data is strongly typed, correct syntax, within length boundaries, contains only permitted characters, or that numbers are correctly signed and within range boundaries.
IF you hate me, please don't mention it. I know who hates me and who doesn't. You really do not have to make fun of people....
Bookmarks