post.php 230 B

12345678910111213141516171819
  1. <?php
  2. include 'functions.php';
  3. session_start();
  4. $saloon = get_post_var("saloon");
  5. $msg = get_post_var("msg");
  6. // Store UNIX timestamp
  7. $msg['time'] = time();
  8. file_lock_and_append_msg(get_msg_file_path($saloon), $msg);
  9. ?>