update : 2015.11.03
php.shukuma.com검색:
|
Validation
Example #1 Validating email addresses with filter_var()
<?php 위 예제의 출력: This (joe@example.com) email address is considered valid.
Example #2 Validating IP addresses with filter_var()
<?php 위 예제의 출력: This (ip_a) IP address is considered valid.
Example #3 Passing options to filter_var()
<?php 위 예제의 출력: This (int_a) integer is considered valid (between 0 and 3). This (int_c) integer is considered valid (between 0 and 3) and is 1. |