<html> <head> <title>File checking</title> </head> <body> Hello how are you... <div> <?php $string = "Hey i am just testing"; header('Content-Disposition: attachment; filename="sample.html"'); header('Content-Type: text/html'); header('Content-Length: ' . strlen($string)); header('Connection: close'); echo $string; ?> </div> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)