X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/41811556ca2ca3ca29191bee012c35e5f40a3995..7213175b8391e8f47f54096fada4fdc33d82b8a1:/nieuws/replies.php diff --git a/nieuws/replies.php b/nieuws/replies.php deleted file mode 100644 index 0847c7e..0000000 --- a/nieuws/replies.php +++ /dev/null @@ -1,50 +0,0 @@ -Reacties'."\n"; -$pagelink = $Page.$Args; - -if ($_POST) { - try { - @mkdir($pagelink); - $target = $pagelink.'/'.date('YmdHis').':'.$User->login.'.html'; - $html = nl2br(htmlspecialchars($_POST['reply'])); - $html = "
$html
\n"; - $written = file_put_contents($target, $html); - if ($written === FALSE) { - throw new Exception('Fout bij opslaan'); - } - $_POST['reply'] = NULL; - } - catch (Exception $e) { - print 'Antwoord niet opgeslagen.
'."\n\n"; - } -} - -print '%s\n", file_get_contents($reply)); - print "