$unit=stripslashes($_POST['uni
$isi=stripslashes($_POST['seta
copy("berita_new.html", "../berita/berita_new.html");
rename ("../berita/berita_new.html", "../berita/".$title.".html");
// create file pointer
$fp = @fopen('../berita/
$mytext = $isi;
// write text to file
@fwrite($fp, $mytext) or die('Could not write to file.');
// close file
@fclose($fp);
echo "<meta http-equiv='refresh' content='0; url=../berita/
No comments:
Post a Comment