A ver explico:
1. Los campos de mi tabla catalogo: foto, foto1 y foto2 son de tipo longblob
2. Al dar var_dump($contenido) me sale un monton de codigo raro, este es para la primera:
string(42381) "ÿØÿà\0JFIF\0\0`\0`\0\0ÿáAÑExif\0\0II*\0\0\0\ 0\0\0\0\0\0ò\0\0\0\0)\0\0\0\0\0\0\0\ 0\02\0\0\0\0\0\0:\0\0(\0\0\0\0\0\0\01\ 0)\0\0\0B\0\0\0\0\0\0\0\0\0i‡\0\0\0\0t\0\ 0¤\0\0\0\0\0\0\0\0¤\0\0\0\0\0\0\0\0¤\0\0\ 0\0\0\0\0\0¤\0\0\0\0l\0\0¤\0\0\0\0$\0\0\0¤ \0\0\0\0\0\0\0\0¤\0\0\0\0\0\0\0¤\0\0\0\0\ 0\0\0\0 ¤\0\0\0\0\0\0\0\0 ¤\0\0\0\0\0\0\0\0 ¤\0\0\0\0\0\0\0\0Æ4\0\0EASTMAN KODAK COMPANY\0KODAK EASYSHARE C813 ZOOM DIGITAL CAMERA\0jà\0\0\0\0\0à\0\0\0\0\0KODAK EASYSHARE C813 ZOOM DIGITAL CAMERA\0\0\0\0\0\0 \0\0\0\0š‚\0\0\0\0¦\0\0‚\0\0\0\0®\0\0\"ˆ\ 0\0\0\0\0\0\0\'ˆ\0\0\0\0È\0\0\0\0\0\0\0\002 21\0\0\0\0¶\0\0\0\0\0\0Ê\0\0‘\0\0\0\0 \0’ \0\0\0\0Þ\0\0’\0\0\0\0æ\0\0’ \0\0\0\0î\0\0’\0\0\0\0ö\0\0’\0 ...creo cortarla aqui
Y al respecto de los datos que ingresan al array los recojo de un formulario:
Código php:
Ver original<!-- <form name="frmimage" method="post" enctype="multipart/form-data" action="insertarBlob.php">
<table>
<tr>
<td align="right" width="19%">Foto 1:</td><td width="61%"><input type="file" size="51" name="foto[]"></td>
</tr>
<tr>
<td align="right" width="19%">Foto 2:</td><td width="61%"><input type="file" size="51" name="foto[]"></td>
</tr>
<tr>
<td align="right" width="19%">Foto 3:</td><td width="61%"><input type="file" size="51" name="foto[]"></td>
</tr> -->
No se que mas puedo hacer al respecto, gracias