Helps stop unwanted users accessing a database through a short piece of text

  • Language: PHP
  • Released: May 10, 2011
    Last Update: May 10, 2011

This piece of code can help fight problems that high-end and even low-end websites face each and every day.

Hackers are the biggest issue when it comes to website security and even system security, with this function you can be sure that your database is secure when dealing with website forms and user inputs because you can define what inputs are checked when the data in sent to the server for processing, this allows you to block access to the site for that user / computer if they try to use any injections on the site.



if( InjectionDetection($_POST['text'], $_GET['name'], $_POST['string']) ) {
    die("ERROR: SQL Injection Tried.");
You need to log-in or create an account
  • Create an account
  • Log-in
Please use your real name.
Activation link will be sent to this address.
Minimum 8 characters
Enter your password again

Clicking this button confirms you read and agreed to the terms of use and privacy policy.


Save your watchlist

Fill your details below to receive project updates from your watch list - including new versions, price changes and discounts.

I agree to the terms of use and privacy policy.

1 license From » $9.99 14 day money-back guarantee View Licenses
or Get a quote

for customization or integration services

Post a comment

Or enter your name and Email
No comments have been posted yet.