當我們在php裡面要建立一個sybase資料庫的連線時
$link = sybase_connect ("server","login","password");
會出現 Warning: Sybase: Server message: Changed database context to 'master' 這樣的訊息
通常我們第一個反應是,在sybase_connect前面加個 @就好啦
如 $link = @sybase_connect ("server","login","password");

但是其實還有另一個做法
http://tw2.php.net/manual/en/function.sybase-min-client-severity.php

arrow
arrow
    文章標籤
    php
    全站熱搜

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