Microsoft Word - Core PHP Programming Using PHP to Build Dynamic Web Sites

(singke) #1

Use ibase_blob_cancel to discard a blob you have created with ibase_blob_create.


boolean ibase_blob_close(integer blob)


The ibase_blob_close function writes changes made to a blob to the database.


integer ibase_blob_create(integer link)


The ibase_blob_create function creates a new blob. The link argument is optional
and will default to the last-opened connection. A blob identifier is returned.


boolean ibase_blob_echo(string blob)


The ibase_blob_echo function prints the contents of the named blob to the browser.


string ibase_blob_get(integer blob, integer bytes)


Use ibase_blob_get to get the specified number of bytes from a blob.


integer ibase_blob_import(integer file) integer
ibase_blob_import(integer link, integer file)


The ibase_blob_import function creates a blob and places the contents of an open file
into it. The file argument must be a file identifier as returned by fopen. You may call
ibase_blob_import with or without an open link. The file is closed after the import. The
blob identifier is returned.


object ibase_blob_info(string blob)


Use ibase_blob_info to get information about a blob. An object is returned with the
following properties: isnull, length, maxseg, numseg, stream.


integer ibase_blob_open(string blob)


Use ibase_blob_open to get a blob identifier for an existing blob.


boolean ibase_close(integer link)


Use ibase_close to close a connection created by ibase_connect. If a link is not
specified, the last opened link will be closed. The default transaction will be committed,
and other transactions will be rolled back.


boolean ibase_commit(integer link)

Free download pdf