Database my database filter function does not work, how should the database be set? urgent ------ solution ------------------ the data filter is the cornerstone of WEB application security in any language or platform. This includes testing the data input to the application and the data output from the application. a good software design can help developers: ensure that data filtering cannot be bypassed, make sure that invalid information does not affect valid information and identifies the data source. About databases
My database filter function does not work. how should I set the database? urgent?
------ Solution --------------------
We have said that data filtering is the cornerstone of WEB application security in any language and platform. This includes testing the data input to the application and the data output from the application. a good software design can help developers:
Make sure that data filtering cannot be bypassed,
Make sure that invalid information does not affect valid information and identifies the data source.
There are a variety of ideas on how to ensure that data filtering cannot be bypassed, and two of them are more common and provide higher level of protection than others.
Specific Method: http://www.phpnewer.com/index.php/Dmaq/detail/id/268
------ Solution --------------------
These two functions can save you,
PHP code
$ Colname_rs = (get_magic_quotes_gpc ())? $ _ GET ['id']: addslashes ($ _ GET ['id']);