123456789101112131415161718192021 |
- <?php
- ini_set('display_errors', 1);
- ini_set('display_startup_errors', 1);
- error_reporting(E_ALL);
-
- //header('Content-Type: application/json');
- header("Content-Type: text/plain");
-
- $productcode = json_decode($_GET["ProductCode"]);
-
- if ($productcode->Ba == "RKZ-S" || $productcode->Ba == "RHZ-S" || $productcode->Ba == "RDZ-S"){
- echo "CE_SerNr_SlotT1_RP." . $productcode->Za . ".rotiert.xml";
- }
- elseif (($productcode->Ba == "KZ-S" || $productcode->Ba == "HZ-S" || $productcode->Ba == "DZ-S") && $productcode->Pf == "FLU"){
- echo "CE_SerNr_FLU_SlotT1_EP." . $productcode->Za . ".rotiert.xml";
- }
- elseif ($productcode->Ba == "KZ-S" || $productcode->Ba == "HZ-S" || $productcode->Ba == "DZ-S"){
- echo "CE_SerNr_SlotT1_EP." . $productcode->Za . ".rotiert.xml";
- }
- ?>
|