PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Dave Smith   Traffic Jam   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example Usage
Class: Traffic Jam
Block unwanted bots based on access speed
Author: By
Last change:
Date: 8 years ago
Size: 684 bytes


Class file image Download
//traffic jam class 0.1 beta

$tJam = new trafficJam();

$jamCode = $tJam->jamTraffic();

if( !empty(
$jamCode) ){
        <title>Traffic Jam Example</title>
        <a href="example.php">Click Me</a>
        <p>To test, click link as a normal human would and then click as quickly as possible. Depending on your humanSpeed and jamTime settings, you should get jammed.</p>
        <p>Once jammed, you can refresh the page or visit again later to see countdown to when you will be allowed back in</p>