test

try{
    $handle = fopen("/tmp/inputfile.txt", "r");   //<-找不倒檔案!
    fclose($handle);
    mysql_connect('nobody','nodoby','nodoby');   //<-連線失敗!
    mysql_query('select * from notablae;')        //<-沒有資料表!
}
catch(Exception $e){
    echo $e->getMessage();
}

Share this

Related Posts

Previous
Next Post »