IEI-Hoshang2 / post.php
imerfanrajabee's picture
Upload 4 files
55e04d7 verified
raw
history blame contribute delete
276 Bytes
<?php
session_start();
if(isset($_SESSION['name'])){
$text = $_POST['text'];
$fp = fopen("log.html", 'a');
fwrite($fp, "<div class='msgln'>(".date("g:i A").") <b>".$_SESSION['name']."</b>: ".stripslashes(htmlspecialchars($text))."<br></div>");
fclose($fp);
}
?>