$file = 'article'.$_GET['articleId'].'.html'; if (file_exists($file)) { include($file); } //file_put_contents($file, $out); ?>