- Timestamp:
- 2007/10/10 18:10:07 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/SC_CheckError.php
r16305 r16368 504 504 if(strlen($this->arrParam[$value[1]]) > 0 && !ereg("^[a-zA-Z0-9_\.@\+\?-]+$",$this->arrParam[$value[1]]) ) { 505 505 $this->arrErr[$value[1]] = "※ " . $value[0] . "に使用する文字を正しく入力してください。<br />"; 506 } 507 } 508 509 /** 510 * 携帯キャリアのドメイン判定. 511 * 512 * @param array $value [0] => 項目名, [1] => 判定対象メールアドレス 513 * @return void 514 */ 515 function MOBILE_DOMAIN_CHECK($value) { 516 if (isset($this->arrErr[$value[1]])) { 517 return; 518 } 519 $this->createParam($value); 520 $objMobile = new SC_Helper_Mobile_Ex(); 521 if (strlen($this->arrParam[$value[1]]) > 0 && !$objMobile->gfIsMobileMailAddress($this->arrParam[$value[1]])) { 522 $this->arrErr[$value[1]] = "※ " . $value[0] . "は携帯メールアドレスのドメインではありません。<br />"; 506 523 } 507 524 }
Note: See TracChangeset
for help on using the changeset viewer.
