oktw says to #ysitd<seadog007>: <?php $savepath="files/".sha1($_SERVER['REMOTE_ADDR'].$_SERVER['HTTP_USER_AGENT'])."/"; if(!is_dir($savepath)){ $oldmask = umask(0); mkdir($savepath, 0777); umask($oldmask); touch($savepath."/index.html"); } if((@$_POST['filename']) && (@$_POST['content']) ){ $fp = fopen("$savepath".$_POST['filename'], 'w'); fwrite($fp, substr($_POST['content'],0,7) ); fclose($fp); $msgat Mon, Dec 28, 2015 10:51 PM