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.
ibase_blob_open
(PHP 4, PHP 5)
ibase_blob_open — データの一部を取得するために blob をオープンする
説明
resource ibase_blob_open
( resource
$link_identifier
, string $blob_id
)
resource ibase_blob_open
( string
$blob_id
)既存の BLOB を読み込み用にオープンします。
パラメータ
-
link_identifier -
InterBase リンク ID。省略した場合は、 最後にオープンしたリンクを使用します。
-
blob_id -
BLOB の ID。
返り値
後で ibase_blob_get() とともに使用する
BLOB ハンドルを返します。失敗した場合に FALSE を返します。
参考
- ibase_blob_close() - blob を閉じる
- ibase_blob_echo() - ブラウザに blob の内容を出力する
- ibase_blob_get() - オープンした blob から len バイト分のデータを取得する
Kevin Hamilton
27-Feb-2006 01:39
