PHP Doku:: Erzeugt ein BLOB (Binary Large Object) - function.ifx-create-blob.html

Verlauf / Chronik / History: (43) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDatenbankerweiterungenAnbieterspezifische DatenbankerweiterungenInformixInformix Funktionenifx_create_blob

Ein Service von Reinhard Neidl - Webprogrammierung.

Informix Funktionen

<<ifx_copy_blob

ifx_create_char>>

ifx_create_blob

(PHP 4, PHP <=5.2.0)

ifx_create_blobErzeugt 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.


Ein BenutzerBeitrag:
- Beiträge aktualisieren...
mazza at radiumsystems dot com dot br
17.05.2000 23:51
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);
?>



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)