GRABAR IMAGENES EN ORACLE
| From: | Denyl Meneses Guillén | Date: | Tue, 23 Aug 2005 19:55:21 +0000 |
| Subject: | GRABAR IMAGENES EN ORACLE | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-55732@lists.php.net to get a copy of this message | ||
Señores :
Deseo guardar imagenes en una base de datos , ya tengo mi tabla IMG_DOC (id , imagen -campo blob-)
1.- Tengo la primera panatalla:
<form enctype="multipart/form-data" action="subir_scaneado_proc.php"
method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="10000000">
<table width="75%" border="0" align="center"
class="light_table_tittle">
<tr>
<td>ID DOC :</td>
<td><input name="txt_id_doc" type="text" size="5"
maxlength="5" onKeyPess="CheckKeys()"></td>
</tr>
<tr>
<td>Seleccionar Documento scaneado: </td>
<td> <input name="userfile" type="file"
size="25"></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="Subir
Documento scaneado"></td>
</tr>
</table>
</form>
2.- Tengo que subir el archivo a mi servidor y luego guardarlo o desde el dico C (Donde esta la
imagen que quiero grabar ) se puede hacer ?
3.- utilizo ORACLE10g
4.- si alguien ha realizado esto antes me puede ayudar para hacerlo , he revisado oci_bind_by_name
pero no se si me puede ayudar , hay algo de OCI_B_BLOB - for BLOBs;
Necesito una orientación en esto por favor.
Gracias.
Denyl.