utils.php 167 B

1234567891011
  1. <?php
  2. session_start();
  3. if (isset($_POST['canvas_ID'])) {
  4. $canvas_id = $_POST['canvas_ID'];
  5. $_SESSION['canvas_id'] = $canvas_id;
  6. echo 200;
  7. }
  8. else
  9. echo 401;
  10. ?>