HELP, blobs in informix
| From: | Martin A. Marques | Date: | Mon, 03 Jul 2000 15:20:36 +0000 |
| Subject: | HELP, blobs in informix | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4533@lists.php.net to get a copy of this message | ||
I have hard troble trying to understand how PHP works with blobs. especially
with the funtion ifx_create_blob, in which I can't understand the third
parameter. The manual says this:
ifx_create_blob
ifx_create_blob -- Creates an blob object
Description
int ifx_create_blob(int type, int mode, string param);
Creates an blob object.
type: 1 = TEXT, 0 = BYTE
mode: 0 = blob-object holds the content in memory, 1 = blob-object holds the content in file.
param: if mode = 0: pointer to the content, if mode = 1: pointer to the filestring.
Return FALSE on error, otherwise the new blob object-id.
I don't understand the param (third) parameter. How is it? What should I put
there?
Thanks!!
--
"And I'm happy, because you make me feel good, about me." - Melvin Udall
-----------------------------------------------------------------
Martín Marqués email: martin@math.unl.edu.ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------