summaryrefslogtreecommitdiff
path: root/includes/libs/libstrutils.php
blob: ee81c336252ec9b982cd7724752bae7be9eb4dc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
<?php

	define("BAD_STRING_DESC", "Only alphanumeric characters are allowed.");

	function check_chars($string)
	{
		return ctype_alnum($string) && (strpos($string, '"') === FALSE);
	}
	
?>