How To ifx_create_blob():
<?php
//1st call it and put result into an array
$blobs[] = ifx_create_blob($type, $mode, $data);
//do it as many times as needed
//then you use it to call ifx_query
ifx_query($stmt, $conn, $cursor, $blobs);
?>
ifx_create_blob
(PHP 4, PHP <=5.2.0)
ifx_create_blob — Erzeugt ein BLOB (Binary Large Object)
Beschreibung
int ifx_create_blob
( int
$type
, int $mode
, string $param
)Erzeugt ein BLOB Objekt.
Typ: 1 = TEXT, 0 = BYTE
Modus: 0 = Der Inhalt des BLOB wird in den Speicher geschrieben, 1 = der Inhalt des BLOB wird in eine Datei geschrieben,
Parameter: falls Modus = 0: Zeiger auf denInhalt, falls Modus = 1: Zeiger auf die Datei.
Gibt bei einem Fehler FALSE zurück, anderenfalls die ID des neuen
BLOBs.
mazza at radiumsystems dot com dot br ¶
13 years ago
