PHP Classes

File: examples/sanitize_array_example.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   PHP Data Sanitization   examples/sanitize_array_example.php   Download  
File: examples/sanitize_array_example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Data Sanitization
Verify and clean values to ensure they are valid
Author: By
Last change:
Date: 7 months ago
Size: 149 bytes
 

Contents

Class file image Download
<?php

$output
= $sanitizer->useSanitize([
   
"<script>alert('This is an array');</script>"
]);

foreach (
$output as $single) {
    echo
$single;
}