$content=file_get_contents($txt); echo $content."<br>"; if(empty($content)){ echo '0<br>'; }else{ echo "1<br>"; }
为什么无论是否有内容都输出1?
慕仙森
潇潇雨雨
相关分类