Main page » Education and Examples, Featured, Script introductions, Free Scripts

PHP – Easy SQL injection protection class 3.1 – Basic sql injection protection class 3.1

10 June 2011 19,663 has been read times 8comments made

Easy-managed SQL protection class'ım 3.0 published.

Features:

POST,GET,REQUEST blocking them all at once,

2 line by typing the full protection of all transactions from the outside,

You want a post-cleaning,

GET,POST,From REQUEST cleaning from a single parameter,

GET,Cleaning at a time from all the parameters from the POST or REQUEST,

stripslashes putting all the text just bring the old into.

 

Artık addslashes, mysql_real_escape_string vb. No need to use SQL Protection 3.0 enough for you.

 

Example use:

$calistir=new sqlinj;  //Class Starts.

$calistir->adding(“deneme”); //SQL commands to be blocked, you write will be activated from the next records.

echo $calistir->onion(“get”,”veri”);  //Clears the contents of the name only get data from.

echo stripslashes($calistir->onion(“get”,”veri”));       // stripslashes clear enough to.

echo $calistir->onion(“”” select * from urunler where, insert into –update urunler”).”<br><br>”;  // To clean the bass is enough to send text or.

 

And the most important feature of the:

$calistir->onion(“tumu”,”butun”); // all -> get,post,Clears all request, get-> get clean in the same way the rest, post get vb. Cleans everything from mobile phones.

 

Click to download.


1 Yıldız2 Yıldız3 Yıldız4 Yıldız5 Yıldız (Previously Specified)
Loading ... Loading ...

8comments made »

  • seadbaneina said:

    just read the thread! Awesome work.

  • seadbaneina said:

    Hi great topic we have going here.

  • Download said:

    Thanks for the helpful information

  • Pentax said:

    thank you for information

  • workclothes said:

    Thank You all for your help and perspectives.

  • noussyClele said:

    This was an interesting post

  • noussyClele said:

    This was an interesting post

  • noussyClele said:

    Nice job, really good article mate

Your ideas ...

You can add your comments here, source showing publish articles in. If you'd like interpretations of this issue In RSS You can follow.

Allowed tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>