Anti SQL Inject Code
Block SQL Injections as soon as their detected[Alpha]
Brought to you by:
mcmrarm
File | Date | Author | Commit |
---|---|---|---|
.idea | 2015-01-20 |
![]() |
[0fccb2] GPL2 and readme added |
LicenceGPL2.txt | 2015-01-20 |
![]() |
[0fccb2] GPL2 and readme added |
antiinject.php | 2015-01-20 |
![]() |
[47b5e9] 1.2, added more methods and example(no sql) |
example.php | 2015-01-20 |
![]() |
[47b5e9] 1.2, added more methods and example(no sql) |
process.php | 2015-01-20 |
![]() |
[47b5e9] 1.2, added more methods and example(no sql) |
readme.txt | 2015-01-20 |
![]() |
[0fccb2] GPL2 and readme added |
AntiInject 1.2 By MrARM Copyright (C) 2015 MrARM This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Heres a example for easy protection require('antiinject.php'); antiinject($string,true); that will check $string At this time this may not be stable alone to be a solo protection for your site, secondary protection is advised but put that following code on the top of the page before the SQL statement is called