# Php

## What is cloudFilt on PHP ?

**PHP (Hypertext Preprocessor)** is a widely used, general-purpose scripting language designed for web development, powering dynamic websites and applications.

CloudFilt is fully compatible with **native PHP environments**, allowing you to integrate **bot detection and protection** directly into your custom applications — **without additional downloads**. It helps secure your PHP site, filters out malicious traffic, and ensures accurate data and optimal performance.

## Why use cloudFilt on PHP ?

CloudFilt on PHP helps users :

* **Prevent and block** bad bots, web scraping, Tor traffic, spam submissions, web fraud, business logic attacks, and DDoS.
* **Inject JavaScript into pages** to track and detect potentially dangerous users.

## How to activate cloudFilt on PHP

1. Login to your **CloudFilt account**.
2. Go to **Websites / WebApps > My Websites**.
3. Click **Settings > Integration & Plugins**.
4. Insert the provided code **before the `<head>` tag** in your HTML code on each page of your website.
5. Insert the provided code at the **beginning of your PHP code** on each page of your website.
6. CloudFilt on PHP is now **enabled and ready to use**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudfilt.com/integrations/php.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
