PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of omid zarifi   XSS Police   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: index page for test
Class: XSS Police
Block accesses attempting to perform XSS attacks
Author: By
Last change:
Date: 12 years ago
Size: 277 bytes
 

Contents

Class file image Download
<?php
include('config.php');
session_start();
require_once(
'class.xss.police.php');
$police=new xsspolice;
$police->validate_befor();
// user variant is set in login
$_SESSION['user']=$users;

if (isset(
$_GET['postid']))
{
$police->look_data($_GET['postid']);
}
?>