Login   Register  
PHP Classes
elePHPant
Icontem

File: test_cleaner.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of silviu dicu  >  Cleaner  >  test_cleaner.php  >  Download  
File: test_cleaner.php
Role: Example script
Content type: text/plain
Description: test program
Class: Cleaner
Remove symbols and HTML tags from text
Author: By
Last change:
Date: 4 years ago
Size: 191 bytes
 

Contents

Class file image Download
<?php

require_once('Cleaner.php');

$str "'' OR '' USERNAME = $s{d};!<html>&s";

print 
Cleaner::clean_rfc1808($str) . "\n";
print 
Cleaner::html_chars(Cleaner::clean_rfc1808($str)) . "\n";