PHP Classes

File: tests/filter.php

Recommend this page to a friend!
  Classes of Ali YILMAZ  >  Mind Framework  >  tests/filter.php  >  Download  
File: tests/filter.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Mind Framework
Framework that implements several design patterns
Author: By
Last change:
Date: 3 months ago
Size: 398 bytes
 

Contents

Class file image Download
<?php
require_once('../src/Mind.php');

$Mind = new Mind();

/*
 * %&amp;%()' OR 1=1 karakterleri etkisizle?tirilmi?tir.
 */
$content = "%&%()' OR 1=1 karakterleri etkisizle?tirilmi?tir.";
echo
$Mind->filter($content);

echo
'<br>';

/*
 * &lt;script&gt;alert('XSS Aš??? var'); &lt;/script&gt;gt;
 */
$content = "<script>alert('XSS Aš??? var'); </script>";
echo
$Mind->filter($content);

For more information send a message to info at phpclasses dot org.