PHP Classes
elePHPant
Icontem

File: Demo/xss_test.php

Recommend this page to a friend!
  Classes of Marco Cesarato  >  PHP AIO Security Class  >  Demo/xss_test.php  >  Download  
File: Demo/xss_test.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP AIO Security Class
Filter untrusted data to prevent security issues
Author: By
Last change: Implemented captcha
Date: 5 months ago
Size: 275 bytes
 

Contents

Class file image Download
<?php
require_once '../security.class.php';
Security::putInSafety();
Security::cleanGlobals();

$debug = var_export(Security::debugGlobals(), true);

echo <<<HTML
<h1>Security XSS Test</h1>
PS: On \$_GET & \$_COOKIE html is not permitted<br><br>
<pre>
$debug
</pre>
HTML;
?>