(PECL CUBRID >= 8.3.0)
cubrid_send_glo — 從 glo 讀取資料並將其發送到標準輸出
cubrid_send_glo() 函式用於從 glo 實例讀取數據並將其發送到 PHP 標準輸出。
conn_identifier
連線識別碼。
oid
您要從中讀取數據的 glo 實例的 Oid。
範例 #1 cubrid_send_glo() 範例
<?php
$req = cubrid_execute ($con, "select image from person where id =1");
if ($req) {
list ($oid) = cubrid_fetch($req);
cubrid_close_request($req);
Header ("Content-type: image/jpeg");
cubrid_send_glo ($con, $oid);
}
?>
注意:
為了向後兼容,可以使用以下已棄用的別名:cubrid_send_glo()
注意:
此函式已從 CUBRID 3.1 中移除。