blob: bc0896de3b609153a44da2dc35ceb0007634263c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
<?php
define("BAD_STRING_DESC", "Only printable characters (except spaces and \") are allowed.");
function check_chars($string)
{
return ctype_graph($string) && (strpos($string, '"') === FALSE);
}
?>
|