Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/12/2014, 13:31
Avatar de IsaBelM
IsaBelM
Colaborador
 
Fecha de Ingreso: junio-2008
Mensajes: 5.032
Antigüedad: 15 años, 10 meses
Puntos: 1012
Respuesta: problemas con las funciones de Fileinfo

no, no lo estoy usando.

te muestro una porción resumida a lo que ocupa
Código PHP:
Ver original
  1. class editarImg {
  2.  
  3.     public function tomaInfo($fileName, $escala) {
  4.  
  5.         $finfo = new finfo();
  6.         $this->_tipo = $finfo->file($fileName['tmp_name'], FILEINFO_MIME);
  7.  
  8.         ...........
  9.     }
este es incluido en
Código PHP:
Ver original
  1. include_once 'subirArchivosResize.php';
  2. $eImg = new editarImg();
  3.  
  4. if (empty($_FILES['archivos'])) {
  5.  
  6.     foreach ($_FILES as $archivo) {
  7.  
  8.         $eImg->tomaInfo($archivo, array('tipo' => 'relativa', 'valor' => array(30)));
  9.     }
  10. .........
gracias por responder a mi consulta
__________________
if(ViolenciaDeGénero) {alert('MUJER ASESINADA');}