Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Community Cafe (http://www.bvlist.com/forumdisplay.php?f=18)
-   -   AjaxChat @link https://blueimp.net/ajax/[sqlpreventsql] function (http://www.bvlist.com/showthread.php?t=12576)

BamBam0077 10th August 2022 00:25

AjaxChat @link https://blueimp.net/ajax/[sqlpreventsql] function
 
// Method to prevent SQL injections:
Code:

       
function makeSafe($value) {
                return $this->_db->makeSafe($value);
        }

Edit Where:
Code:

return mysqli_query(makesafe($value));


All times are GMT +2. The time now is 19:33.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.