File: examples/sanitize_associative_array_example.php

Recommend this page to a friend!
  Classes of Faris AL-Otaibi  >  PHP Sanitization Functions  >  examples/sanitize_associative_array_example.php  >  Download  
File: examples/sanitize_associative_array_example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Sanitization Functions
Verify and clean values to assure they are valid
Author: By
Last change: Update of examples/sanitize_associative_array_example.php
Date: 2 months ago
Size: 202 bytes
 

 

Contents

Class file image Download
<?php

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

foreach (
$output as $key => $value) {
    echo
"(" . $key . ": " . $value . ")";
}


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