Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

post.php

matthewenderle May 10th, 2016 6,082 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. <?php
  2. session_start();
  3. if(isset($_SESSION['name'])){
  4.     $text = $_POST['text'];
  5.      
  6.     $fp = fopen("log.html", 'a');
  7.     fwrite($fp, "<div class='msgln'>(".date("g:i A").") <b>".$_SESSION['name']."</b>: ".stripslashes(htmlspecialchars($text))."<br></div>");
  8.     fclose($fp);
  9. }
  10. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top