PHP Doku:: Reads part of the large object - function.oci-lob-read.html

Verlauf / Chronik / History: (50) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDatenbankerweiterungenAnbieterspezifische DatenbankerweiterungenOracle OCI8OCI8 FunktionenOCI-Lob->read

Ein Service von Reinhard Neidl - Webprogrammierung.

Verdiene Geld mit Deiner Homepage oder deinem Blog: Setzte eine Textlinkwerbung und bestimme den Preis selber.
Einfach kostenlos anmelden und einen Platz auf Deiner Homepage anbieten.
Make money with your homepage or blog: Set a text link advertising and declare the price.
Register free of charge and offer a place on your homepage.
OCI8 Funktionen

<<OCI-Lob->load

OCI-Lob->rewind>>

OCI-Lob->read

(PHP 5, PECL OCI8 >= 1.1.0)

OCI-Lob->readReads part of the large object

Beschreibung

string OCI-Lob::read ( int $length )

Reads length bytes from the current position of LOB's internal pointer.

Reading stops when length bytes have been read or end of the large object is reached. Internal pointer of the large object will be shifted on the amount of bytes read.

Parameter-Liste

length

The length of data to read, in bytes.

Rückgabewerte

Returns the contents as a string, Im Fehlerfall wird FALSE zurückgegeben..


Verdiene Geld mit Deiner Homepage oder deinem Blog: Setzte eine Textlinkwerbung und bestimme den Preis selber.
Einfach kostenlos anmelden und einen Platz auf Deiner Homepage anbieten.
Make money with your homepage or blog: Set a text link advertising and declare the price.
Register free of charge and offer a place on your homepage.
Ein BenutzerBeitrag:
- Beiträge aktualisieren...
alvaro at demogracia dot com
8.10.2008 9:32
To read the whole LOB into a variable:

<?php
$foo
= $MyBlob->read($MyBlob->size());
?>



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",...)