Ver Mensaje Individual
  #9 (permalink)  
Antiguo 19/05/2010, 07:57
render_
 
Fecha de Ingreso: abril-2009
Mensajes: 11
Antigüedad: 15 años
Puntos: 0
Respuesta: Prohibir extensiones en upload php

bueno el archivo creo que hace la función de upload lo dejo aquí adjunto. En el creoq eu he visto algo referente a ello marcado con un comentario pero no se modificarlo a ver si me echais una mano.

Se encuentra en la linea 65

/**
* Return the files from specific directory. This function can filter result
* by file extension (accepted param is single extension or array of extensions)
*
* @example get_files($dir, array('doc', 'pdf', 'xst'))
*
* @param string $dir Dir that need to be scaned
* @param mixed $extension Singe or multiple file extensions that need to be
* mached. If null no check is performed...
* @param boolean $base_name_only Return only filenames. If this option is set to
* false this function will return full paths.
* @return array
*/

Este es el enlace al archivo al completo: http://www.megaupload.com/?d=MGL43XQN

Última edición por render_; 19/05/2010 a las 08:04