À§Ä¡¸¦ Á¤¼ö·Î ¹ÝȯÇÕ´Ï´Ù. needle À» ¹ß°ßÇÏÁö ¸øÇϸé, strpos()´Â boolean FALSE¸¦ ¹ÝȯÇÕ´Ï´Ù.
if (strpos($system_folder, '/') === FALSE) {
//
}
int strpos ( string $haystack , mixed $needle [, int$offset ] )
http://docs.php.net/manual/kr/function.strpos.php |
|