經安全檢測,此網站為安全網站,請放心前往原始網址!

php - 判斷字串是否存在@ Life Is Struggle :: 隨意窩Xuite日誌

ex: $str2 是否存在於$str1 $str1 = 'http://test/test.php?var=123'; $str2 = '/test/test. php'; if (false !== ($rst = strpos($str1, $str2))) { echo 'find : '.$rst; // 印出find : 6 } ...

www.google.com.tw

網址安全性掃描由 google 提供