Location: PHPKode > projects > Thin PHP Framework > ngduc-Thin-PHP-Framework-6f99097/lib/thinphp_util/filter_util.php
<?php

function sanitizeString($s)
{
	return filter_var($s, FILTER_SANITIZE_STRING);
}

function sanitizeEmail($s)
{
	return filter_var($s, FILTER_SANITIZE_EMAIL);
}

function sanitizeUrl($s)
{
	return filter_var($s, FILTER_SANITIZE_URL);
}
Return current item: Thin PHP Framework