The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1669 - File: showthread.php PHP 8.2.30 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 1669 errorHandler->error_callback
/showthread.php 915 buildtree




Seeking connection string help
#8
Evan Wrote:btw speaking of sql injection, never ever ever build SQL statements directly from user form input. Always used parameterized queries. (and always check for isnullorempty() unless you like NPEs!) ado.net makes it easy so no real excuse not to.
Or filter the user input before you use it... which is mainly what a parameterized query is doing for you.

instead of rewriting all of his DB queries he could just filter all of his post/get data before using it.
  Reply


Messages In This Thread

Forum Jump: