' . "\n\n" . $_POST['content']; } if(!empty($post_title) && !empty($post_url) && !empty($post_content)) { if(get_magic_quotes_gpc()) { $post_content = stripslashes($post_content); } $filename = $post_url . '.md'; $dir = '../../content/static/'; if(is_dir($dir)) { file_put_contents($dir . $filename, print_r($post_content, true)); } else { mkdir($dir, 0777, true); file_put_contents($dir . $filename, print_r($post_content, true)); } header('location: ../index.php'); } if (login()) { ?> Create page
Title:


Url: