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

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

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

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