Quick Start Guide

The Zero Site Protector library is a comprehensive security tool designed to protect your website from various types of threats. This guide will help you get started with using the library in your PHP project.

Installation

To install the Zero Site Protector library, follow these steps:

  1. Download the library from the releases page
  2. Unzip the downloaded file
  3. Include the library in your PHP project
require_once('path/to/zero-site-protector.php');

Usage

You can start using the library by instantiating a new object from the ZeroSiteProtector class:

$protectSite = new ZeroSiteProtector();

Then, you need to call the startFile method before any other output in your PHP file :

$protectSite->startFile();
// Your PHP or HTML code

you can add your code, then you need to call the endFile method after any other output in your PHP file :

$protectSite->endFile();

Note: If you call endFile() not at the end of the HTML output, Zero Site Protector will have problems. So you must make sure to place it at the end of the HTML or PHP output.