Ver Mensaje Individual
  #7 (permalink)  
Antiguo 21/08/2005, 15:48
Avatar de swishts
swishts
 
Fecha de Ingreso: noviembre-2002
Ubicación: Uruguay
Mensajes: 209
Antigüedad: 21 años, 5 meses
Puntos: 0
Cita:
Iniciado por Cluster
Si estás usando una aplicación de un tercero .. sería bueno contactarte con el (como para hacerle mención de tu sugerencia para que te ayude).

De todas formas .. en líneas generales .. ,
hola, como tu dices se encuentra esa linea:

Código PHP:
// handle download requests
 
if ($_GET["download"]!="") {
 
$download stripslashes($_GET["download"]);
 
$filename safeDirectory($path.rawurldecode($download));
 
if (
 
!
file_exists($filename)
 
OR 
fileIsHidden($filename)
 
OR (
substr(strtolower($filename), -4)==".php" AND !$allowPHPDownloads)) {
 
 
 
Header("HTTP/1.0 404 Not Found");
 
$displayError[] = sprintf(translate("File not found: %s"), $filename);
 
} else {
 
//doConditionalGet($filename, filemtime($filename));
 
Header("Content-Length: ".filesize($filename));
 
Header("Content-Type: application/x-download");
 
Header("Content-Disposition: attachment; filename=\"".rawurlencode($download)."\"");
 
readfile($filename);
 
die();
 
}
 

Pero de que manera le puedo cambiar la extencion alli?
__________________
--------------------------
QUINCHOS WILFREDO, http://www.quinchoswilfredo.com