<?php
$handle = fopen(
"/var/www/html/file.html", "wb");fprintf($handle, "<html>\n<body>\nData goes here\n</body>\n</html>");
fclose($handle);
?> Ssomething like this? You can copy whatever you do in printf or echo commands to fprintf.--
Christopher Taylor - Registered Linux User #383327
