summaryrefslogtreecommitdiff
path: root/public/ui-upd-ccode.php
diff options
context:
space:
mode:
authorGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2026-07-12 15:51:52 +0300
committerGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2026-07-12 15:51:52 +0300
commit02608271bb2a9f3a65ed536984d306ee14b48e34 (patch)
tree3f23ec48a694ec014e845c4f70d9b5f1c065403c /public/ui-upd-ccode.php
downloadkalassa-master.tar.gz
kalassa-master.tar.bz2
kalassa-master.zip
initialize repository; add docker config; migrate configuration to new specsHEADmaster
Diffstat (limited to 'public/ui-upd-ccode.php')
-rw-r--r--public/ui-upd-ccode.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/public/ui-upd-ccode.php b/public/ui-upd-ccode.php
new file mode 100644
index 0000000..30bbcbe
--- /dev/null
+++ b/public/ui-upd-ccode.php
@@ -0,0 +1,18 @@
+<?php
+ // GET STRUCTURE; CONVERT TO ARRAY
+ // ---------------------------------------------------------------------------
+ $ccodeJSON = file_get_contents('ccode.json');
+ $ccodeARRAY = json_decode($ccodeJSON);
+ unset($ccodeJSON); // free some memory
+
+ // print_r($ccodeARRAY);
+ // echo json_encode($ccodeARRAY, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
+
+ // GET POSTED DATA; VALIDATE
+ // ---------------------------------------------------------------------------
+
+
+ // UPDATE RECORD ON ARRAY; SAVE (updated) JSON STRUCTURE
+ // ---------------------------------------------------------------------------
+
+?>