W3Cschool
恭喜您成為首批注冊(cè)用戶
獲得88經(jīng)驗(yàn)值獎(jiǎng)勵(lì)
(PECL CUBRID >= 8.3.0)
cubrid_send_glo — 從 glo 讀取數(shù)據(jù)并將其發(fā)送到 std 輸出
cubrid_send_glo(resource $conn_identifier, string $oid): int
cubrid_send_glo() 函數(shù)用于從 glo 實(shí)例讀取數(shù)據(jù)并將其發(fā)送到 PHP 標(biāo)準(zhǔn)輸出。
conn_identifier
連接標(biāo)識(shí)符。
oid
要從中讀取數(shù)據(jù)的 glo 實(shí)例的 Oid。
true,當(dāng)進(jìn)程成功時(shí)。
false,當(dāng)進(jìn)程不成功時(shí)。
示例 #1 cubrid_send_glo() example
<?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()
注意:此函數(shù)已從 CUBRID 3.1 中刪除。
Copyright©2021 w3cschool編程獅|閩ICP備15016281號(hào)-3|閩公網(wǎng)安備35020302033924號(hào)
違法和不良信息舉報(bào)電話:173-0602-2364|舉報(bào)郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號(hào)
聯(lián)系方式:
更多建議: