PHP Generating html file
Generating html file
<?php
$html = '
<html>
<head>
<title>This HTML file</title>
</head>
<body>
';
$html .= 'Today is ' .date('l');
$html .= '
</body>
</html>
';
file_put_contents('file.html', $html);
?>