![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
06/05/2009, 10:12
|
| | Fecha de Ingreso: febrero-2009 Ubicación: cancun!
Mensajes: 898
Antigüedad: 16 años Puntos: 15 | |
Respuesta: Abrir pdf desde php pulsando un boton mira yo los muestro asi
en otra ventana Cita: $nombre=$_REQUEST["nombre"];
$tam=filesize($fichero.$nombre);
header("Content-type: application/pdf");
header("Content-Length: $tam");
header("Content-Disposition: inline; filename=proyecto.pdf");
$file=$fichero.$nombre;
readfile($file); saludines!!
__________________ WHERE IS MY BLUE SUNNY SKY??
pd: todos los karmas son bienvenidos :D |