<?php
if(eregi( "abc","abcdefg")){
echo "找到abc!";
}else{
echo "找不到abc!";
}
?>