- Timestamp:
- 2006/12/01 18:37:24 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 2 edited
-
data/class/SC_CheckError.php (modified) (1 diff)
-
html/test/uehara/test.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/class/SC_CheckError.php
r10105 r10108 558 558 return; 559 559 } 560 sfprintr($this->arrParam[$value[1]]);561 if( strlen($this->arrParam[$value[1]]) > 0 && ! EregI("^[[:alnum:]_\.-]+$", $this->arrParam[$value[1]]) &&EregI("[\\]" ,$this->arrParam[$value[1]])) {560 561 if( strlen($this->arrParam[$value[1]]) > 0 && ! EregI("^[[:alnum:]_\.-]+$", $this->arrParam[$value[1]]) || EregI("[\\]" ,$this->arrParam[$value[1]])) { 562 562 $this->arrErr[$value[1]] = "¢¨ " . $value[0] . "¤Î¥Õ¥¡¥¤¥ë̾¤ËÆüËܸì¤ä¥¹¥Ú¡¼¥¹¤Ï»ÈÍѤ·¤Ê¤¤¤Ç²¼¤µ¤¤¡£<br />"; 563 563 } -
temp/trunk/html/test/uehara/test.php
r10107 r10108 1 1 <?php 2 $test= ' \\';2 $test= 'aaa\\ '; 3 3 if(EregI("[\\]", $test)) { 4 4 echo "true!!";
Note: See TracChangeset
for help on using the changeset viewer.
