Re: Fw: ORACLE, PHP Y LONG RAW
| From: | DANIEL JAIMES PALACIOS | Date: | Tue, 08 Oct 2002 12:04:07 +0000 |
| Subject: | Re: Fw: ORACLE, PHP Y LONG RAW | ||
| References: | 1 2 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-27762@lists.php.net to get a copy of this message | ||
PEDRO,
ESO ES MUY SENCILLO DEFINES EN TU TABLA UN CAMPO LONG RAW Y CUANDO ESTRES
CONSTRUYENDO TU FORMULARIO EN FORMS, LE ASIGNAS ESE CAMPO LONG RAW UN OBJETO
OLE, QUE SEA DOCUMENTO DE WORD Y LISTO.
----- Original Message -----
From: "Pedro Garre" <pgarre@ijcreditor.es>
To: <lista@phpes.com>
Sent: Tuesday, October 08, 2002 7:34 AM
Subject: Re: [PHP-ES] Fw: ORACLE, PHP Y LONG RAW
*This message was transferred with a trial version of CommuniGate(tm) Pro*
No entiendo el problema, explícamelo mejor.
Yo haría un select SQL de toda la vida, mandaría un par de headers y luego
un
"echo" del campo.
Si el cliente tiene el plugin necesario, se le abrirá como una página web.
Si
no, se le abrirá la ventana de descarga de ficheros.
Por ejemplo (no sé qué sería para word, ¿ tal vez msword ?):
header("Content-Type: application/pdf");
echo $contenido_del_campo_long_raw;
Por cierto, trabajo con un programador de developer bastante malo y muy
vago.
No hace mucho yo quería meter ficheros zip, etc en un LONG RAW y él me decía
que no se podía, porque en developer sólo tiene funciones para leer ficheros
de texto. No tengo tiempo de investigar cómo puede hacer su trabajo, así que
de momento no lo tenemos hecho.
¿ Cómo haces para meter el fichero word en el long raw ?
Pedro.
On Monday 07 October 2002 21:19, DANIEL JAIMES PALACIOS wrote:
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
>
> ----- Original Message -----
> From: "DANIEL JAIMES PALACIOS" <djaimes@corponor.gov.co>
> To: <lista@phpes.com>
> Sent: Friday, October 04, 2002 8:43 PM
> Subject: ORACLE, PHP Y LONG RAW
>
> > > NECESITO UNA COLABORACION:
> > >
> > > TENGO ORACLE 8I CORRIENDO EN SOLARIS (UNIX), TENGO EN UN SERVIDOR NT
> > > CORRIENDO APACHE Y PHP, NECESITO ACCEDER A UN REGISTRO DE INFORMACIÓN
>
> EN
>
> > LA
> >
> > > bASE DE DATOS ORACLE, QUE CONTIENE UN CAMPO LONG RAW (ALMACENA UN
> >
> > DOCUMENTO
> >
> > > WORD CON FOTOS), QUE DEBO HACER PARA PODER VISUALIZAR DICHO CAMPO
> >
> > UTILIZANDO
> >
> > > PHP Y APACHE EN MI BROWSER, INTENTÉ UTILIZAR
> >
> > OCINEWDESCRIPTOR(...,OCI_D_LOB)
> >
> > > PERO NO ME FUNCIONA.
> > >
> > > AGRADEZCO ME AYUDEN A SOLUCIONAR ESTE PROBLEMA.
> > >
> > > djaimes@corponor.gov.co
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> via news: news://news.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com
---------------------------------------------------------------------
Archivo On-line: http://www.phpes.com/
via news: news://news.phpes.com/
Manual PHP en español: http://www.php.net/manual/es/
Para dar de baja la suscripción, mande un mensaje a:
lista-unsubscribe@phpes.com