bajar documento

From: Date: Sun, 23 Jun 2002 18:12:35 +0000
Subject: bajar documento
Groups: php.general.es 
Request: Send a blank email to general-es+get-24145@lists.php.net to get a copy of this message
gracias por el consejo, esto me funciona muy bien ... ahora temgo otra dudita, como puedo saber si el documento ha bajado bien? Existe alguna forma? Muchas gracias José Guerrero -----Original Message----- From: Walter D. Funk [mailto:walter@netcomproject.com] Sent: Thursday, June 20, 2002 1:24 PM To: lista@phpes.com Subject: Re: [PHP-ES] bajar documento $file = "tu_doc.doc"; $url = $path_a_tu_doc."/".$file; header ("Content-Disposition: attachment; filename=".$file."\n\n"); header ("Content-Type: application/octet-stream"); header ("Content-Length: ".filesize($url)); readfile($url); suerte ----- Original Message ----- From: "Guerrero, Jose" <J.GUERRERO@CGIAR.ORG> To: <lista@phpes.com> Sent: Thursday, June 20, 2002 3:00 PM Subject: [PHP-ES] bajar documento > Saludos listeros, aqui les tengo una preguntita: > Tengo un documento word en mi webserver, quiero hacer un programa en php que > desde un cliente haga un download a ese documento sin que lo abra ... muchas > gracias muchachos > > Jose Guerrero > > --------------------------------------------------------------------- > Archivo On-line: http://www.phpes.com/ > via news: news://news.phpes.com/ > Manual PHP en español: http://www.php.net/manual/es/ > Para dar de baja la suscripción, mande un mensaje a: > lista-unsubscribe@phpes.com > > --------------------------------------------------------------------- Archivo On-line: http://www.phpes.com/ via news: news://news.phpes.com/ Manual PHP en español: http://www.php.net/manual/es/ Para dar de baja la suscripción, mande un mensaje a: lista-unsubscribe@phpes.com

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