$string = 'Hello World!';
if(stristr($string, 'earth') === FALSE) {
echo '"earth" not found in string';
}
// 出力は "earth" not found in string となります
参照元:http://www.php.net/manual/ja/function.st…
(.*?)/i”, $html, $matches) ) { //(3)
return $matches[1];
} else {
return false;
}
}
?>
参照元:http://creazy.net/2008/05/php_get_page_title_sample.html
graffiti on the web
この投稿へのコメント
コメントはまだありません。