$str = "我要看电视.html";
			if(eregi("电视$", $str)){
				echo "ok";
			} else {
				echo "no";
			}