save.php~ 179 B

1234567891011121314
  1. <?php
  2. session_start();
  3. if (isset($_POST["src"])){
  4. $src = $_POST["src"];
  5. $id = time();
  6. $_SESSION["src_".$id] = $src;
  7. print $id;
  8. exit;
  9. }
  10. print "ERROR";
  11. ?>