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: 2 years 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);