Re: bajar documento

From: Date: Mon, 24 Jun 2002 15:32:41 +0000
Subject: Re: bajar documento
Groups: php.general.es 
Request: Send a blank email to general-es+get-24173@lists.php.net to get a copy of this message
Yo lo tengo hecho con JavaScript y funciona muy bien. <html> <head> <title>Descarga de archivo</title> <script language="JavaScript" type="text/javascript"> // ComienzaDescarga() function beginDownload() { newlocation = "exportacion.xls" ; idl = 1; if (location.search) { idl = -location.search.indexOf("idl=n"); } if (idl > 0) { window.location = newlocation; } return 1; } </script> </head> <body onLoad="beginDownload();"> <a href="exportacion.xls">Si no se le abre un cuadro de descarga. Pinche aqui...</a> </body> </html>

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