ibase_blob_open
(PHP 5, PHP 7 < 7.4.0)
ibase_blob_open — Open blob for retrieving data parts
说明
ibase_blob_open(resource
$link_identifier
, string $blob_id
): resource|falseibase_blob_open(string
$blob_id
): resource|falseOpens an existing BLOB for reading.
参数
-
link_identifier
-
An InterBase link identifier. If omitted, the last opened link is assumed.
-
blob_id
-
A BLOB id.
返回值
Returns a BLOB handle for later use with
ibase_blob_get() 或者在失败时返回 false
.
参见
- ibase_blob_close() - Close blob
- ibase_blob_echo() - Output blob contents to browser
- ibase_blob_get() - Get len bytes data from open blob

User Contributed Notes 1 note
Kevin Hamilton ¶
16 years ago
While it is true that PHP4 allows only one parameter, it is not true that PHP5 allows only 2 parameters. The correct function signature for PHP5 should be:
resource ibase_blob_open([ resource link_identifier, ] string blob_id)
If a link_identifier is not provided, then the "default" link_identifier will be used. The default link identifier is assigned every time you call ibase_connect or ibase_pconnect, so if you have multiple connections it will be whichever was connected LAST.
备份地址:http://www.lvesu.com/blog/php/function.ibase-blob-open.php