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 — Otwiera BLOBa w celu pobrania części danych
Opis
resource ibase_blob_open
( resource
$identyfikator_połączenia
, string $identyfikator_bloba
)
resource ibase_blob_open
( string
$identyfikator_bloba
)Otwiera istniejącego BLOBa do odczytu.
Parametry
-
identyfikator_połączenia -
Identyfikator połączenia do Firebird/Interbase. Jeśli został pominięty używane jest ostatnio otwarte połączenie.
-
identyfikator_bloba -
Identyfikator BLOBa.
Zwracane wartości
Zwraca uchwyt BLOBa do późniejszego użycia z
ibase_blob_get() lub FALSE w przypadku niepowodzenia.
Zobacz też:
- ibase_blob_close() - Zamyka BLOBa
- ibase_blob_echo() - Wysyła zawartość BLOBa do przeglądarki
- ibase_blob_get() - Pobiera X bajtów danych z otwartego BLOBa
Kevin Hamilton ¶
7 years ago
