downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

OCI-Lob::rewind> <OCI-Lob::load
[edit] Last updated: Fri, 17 May 2013

view this page in

OCI-Lob::read

(PHP 5, PECL OCI8 >= 1.1.0)

OCI-Lob::readLee parte del objeto grande

Descripción

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

Lee length bytes desde la posición actual del puntero interno del LOB.

La lectura se detiene cuando se han leído length bytes o se alcance el final del objeto grande. El puntero interno del objeto grande será desplazado a la cantidad de bytes leídos.

Parámetros

length

La longitud de los datos a leer, en bytes.

Valores devueltos

Devuelve el contenido como un string, o FALSE en caso de error.



add a note add a note User Contributed Notes OCI-Lob::read - [2 notes]
up
1
Marcin Matras
1 month ago
To read LOB into variable you can use OCI-Lob::load

<?php
$foo
= $MyBlob->load();
?>
up
-1
alvaro at demogracia dot com
4 years ago
To read the whole LOB into a variable:

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

 
show source | credits | sitemap | contact | advertising | mirror sites