# phpGuard v2

phpGuard v2 is a script that protects your site from SQLi (SQL Injection), Cross-Site Scripting, DDoS and other hacking attacks

Documentation Admin Panel

# Features

### SQL Injection (SQLi) Protection

phpGuard v2 can detect and block SQLi (SQL Injection). It has an option to record them into the database with the attacked url of your site. Then they can be reviewed in the admin panel.
If you want to test the SQLi Protection just click on the button below or copy and paste the link in the URL bar of your browser.
Test SQLi

### Multifunctional Admin Panel

The script have a multifunctional Admin Panel with many functions and settings. It is very easy to use the Admin Panel of phpGuard v2 and you can view all logs and bans from it. You can also manage all settings and modules of phpGuard v2.
To the Admin Panel

### Blocking Spammers

The script is integrated with one of the most popular DNSBL (Spam Databases) and when a spammer comes to your site it will be blocked and forwarded to another page. DNSBL (Spam Databases) can be edited. Spammers are recorded in the database and then they can be reviewed in the admin panel.

### DDoS Blocking

phpGuard v2 can detect DDoS Attacks and block them. It has an option to record them into the database, and then they can be reviewed in the admin panel.

### Many settings

Now in the new version of phpGuard you can see the many settings, with which you can manage the security of your site and all modules of phpGuard v2.

### XSS Prevention

phpGuard v2 can detect XSS and block them. It has an option to record them into the database, and then they can be reviewed in the admin panel.
To use the XSS Prevention in your site you should just do this:
secure($string);

### Proxy Detection

phpGuard v2 can detect visitors using proxy and block them or forward them to another page. It has an option to record them into the database, and then they can be reviewed in the admin panel.

### AutoBan Function

The script have a function with which every hacker will be automatically banned. You can change the AutoBan Settings from the Admin Panel.