Site du proximo, utilisé pour gérer le stock.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

json_ajax.php 259B

12345678910
  1. <?php
  2. $relativePath = "../";
  3. require_once $relativePath.'classes/postHandler.php';
  4. $rest_json = file_get_contents("php://input");
  5. $_POST = json_decode($rest_json, true);
  6. $handler = new PostHandler($_POST, $_FILES);
  7. echo json_encode($handler->do_action());