PHP Application
Are you a web developer? You are welcome to use our PHP library to integrate the BotGuard service with any PHP-based web application. Our PHP library is available on GitHub along with a quick-start guide and examples of use.
Not a developer? Then follow these simple steps:
-
Download an archive containing all the necessary files and unzip it. The archive contains 3 files:
index.php,BotGuard.phpandProfile.php. -
Edit the
index.phpfile. Replacexxx.botguard.netwith the address of the primary BotGuard server assigned to your website. Replaceyyy.botguard.netwith the address of the secondary BotGuard server. -
Open your hosting file management tool (file management panel or FTP client), and find the
index.phpfile in the root directory of your website. Rename thisindex.phpfile toindex.php.original. -
Upload the new
index.php,BotGuard.phpandProfile.phpfiles to the root directory of your website.