PHP Classes

File: examples/is_valid_example.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   PHP Data Sanitization   examples/is_valid_example.php   Download  
File: examples/is_valid_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: 1 year ago
Size: 85 bytes
 

Contents

Class file image Download
<?php

echo $sanitizer->isValid("127.0.0.1", FILTER_VALIDATE_IP) ? "true" : "false";