HValidate.php
osc_validate_text ($value = , $count = 1, $required = true) - Validate the text with a minimum of non-punctuation characters (international)
osc_validate_int ($value) - Validate one or more numbers (no periods)
osc_validate_nozero ($value) - Validate one or more numbers (no periods), must be more than 0.
osc_validate_number ($value = null, $required = false) - Validate $value is a number or a numeric string
osc_validate_phone ($value = null, $count = 10, $required = false) - Validate $value is a number phone
osc_validate_min ($value = null, $min = 6) - Validate if $value is more than $min
osc_validate_max ($value = null, $max = 255) - Validate if $value is less than $max
osc_validate_range ($value, $min = 6, $max = 255) - Validate if $value belongs at range between min to max
osc_validate_location ($city,$sCity,$region,$sRegion,$country,$sCountry) - Validate if exist $city, $region, $country in db
osc_validate_category ($value) - Validate if exist category $value and is enabled in db
osc_validate_url ($value, $required = false) - Validate if $value url is a valid url.
osc_validate_spam_delay($type = 'item') - Validate time between two items added/comments
osc_validate_email ($email, $required = true) - Validate an email address
osc_validate_username( $value, $min = 1 ) - validate username