Re: DESCARGADOR

From: Date: Wed, 13 Aug 2003 22:56:25 +0000
Subject: Re: DESCARGADOR
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-39385@lists.php.net to get a copy of this message
a ver... pon tambien el header $fichero = '/aa/ejemplo.xls'; header('Cache-Control: private'); header('Cache-Control: no-cache, must-revalidate'); header("Content-type: application/xls"); header("Content-Transfer-Encoding: binary"); header('Accept-Ranges: bytes'); header("Content-Length: ".filesize($fichero)."); header("Content-Disposition: attachment; filename=ejemplo.xls"); echo "\\n"; readfile('/aa/ejemplo.xls'); Puede ser que así te funcione de todas formas http://es.php.net/manual/es/function.header.php y probar y probar hasta que vaya bien Ya nos comentaras Saludos Jabi

« previous php.general.es (#39385) next »