- <html> 
- <head> 
- <title>Documento sin título</title> 
- </head> 
- <body> 
- <?php  
- $archivo = "prueba.html";  
- header('Content-Disposition: attachment; filename="'.$archivo.'"');  
- $contenido = "<table><tr><td>cedillo</td></tr></table>";  
- //file_put_contents($archivo, $contenido);  
-  //chmod($archivo, 777);  
- echo $contenido 
- ?>  
- </body> 
- </html> 
-   
-