<?php echo 'Здравствуй!'; $i = 1; while($i<=5){ if (!is_file($i.'.php')){ file_put_contents($i.'.php',"<?php header('Content-type: text/html; charset=utf-8'); echo 'Привет файл <b>$i.'.php.'<b> !'; ?>"); $i++; } } ?>