Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2011-08-23 14:23
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']);
}
?>