# Reverse PHP Integration

Reverse PHP integration is a slightly different approach that uses the filter.php file. This file is directly included in your PHP page (usually the white page) with a single line of PHP code. Traffic is directed straight to this page, our code in the filter.php file checks it, and sends the target visitors further to the content while leaving moderators and bots on the white page.

For reverse PHP integration, you need to download the filter.php file from the "Reverse PHP Integration" tab and place it in your website or landing page folder. Multiple identical filter.php files can be used in parallel to protect multiple websites or landing pages without interfering with each other.

Next, add the following code as the first line in the index file of your website or landing page (usually named index.php ) above all other code:

<?php require __DIR__ . '/filter.php' ?>

If your website is pure HTML, you can change the file extension from .html to .php and then add the specified line of code.

If you added the code to your white page, set the action to "Do Nothing" for the white page in your stream settings. Cloakify won't take any action and will leave the visitor on the current page, which is the white page. Similarly, if you added the code to the content page, set the action to "Do Nothing" for the content page in your stream settings.

After setting up, simply direct traffic to the page where you added the code.