close

 

<?php
$fh = fopen('demo.txt','r');
if (is_resource($fh))
{
echo "File is open successfully......";
}
else
echo "wrong way to open a file";
?>

輸出 :

File is open successfully......

arrow
arrow
    全站熱搜

    stockwfj3 發表在 痞客邦 留言(0) 人氣()