删除修饰符e
This commit is contained in:
parent
dc8665c442
commit
2698a939a7
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
$str=file_get_contents('http://cn.bing.com/HPImageArchive.aspx?idx=0&n=1');
|
||||
if(preg_match("/<url>(.+?)<\/url>/ies",$str,$matches)){
|
||||
if(preg_match("/<url>(.+?)<\/url>/is",$str,$matches)){
|
||||
$imgurl='http://cn.bing.com'.$matches[1];
|
||||
}
|
||||
if($imgurl){
|
||||
|
|
Loading…
Reference in New Issue