Overview #
The PHP Upload method involves uploading a separate cloaking script to your hosting server and including it in your landing pages. This is useful for managing cloaking across multiple pages without modifying each file manually.
Steps to Implement PHP Upload Cloaking #
- Download the Cloaking Script
- Log in to TrafficShield and download the PHP Cloak Script.
- Upload the Script to Your Server
- Use FTP or your hosting file manager to upload the script to your website’s root directory (e.g.,
public_html/
).
- Use FTP or your hosting file manager to upload the script to your website’s root directory (e.g.,
- Include the Script in Your Pages
- Open your landing page file (
index.php
). - Add the following line at the very top:phpCopyEdit
<?php include("cloak.php"); ?>
- Open your landing page file (
- Verify the Implementation
- Test different traffic sources to ensure cloaking functions correctly.