Location: PHPKode > projects > Modular Site Manager > htdocs/lk/content.add.php
<?php
//chdir('../');
$fp = fopen('../content/'.$_POST['fname'], 'w') or die("couldn't open file");
fwrite($fp, stripslashes($_POST['content'])) or die("couldn't write file");
fclose($fp);
header("Location: ".$_SERVER['HTTP_REFERER']);
?>
Return current item: Modular Site Manager