summaryrefslogtreecommitdiffstats
path: root/utils/gdpr_request.php
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-01-11 12:35:47 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2022-01-11 12:35:47 +0100
commit19985dbb8c0aa66dc4bf7905abc1148de909097d (patch)
tree2cd5a5d20d7e80fc2a51adf60d838d8a2c40999e /utils/gdpr_request.php
download1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.gz
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.bz2
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.lz
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.xz
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.zst
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.zip
Diffstat (limited to 'utils/gdpr_request.php')
-rw-r--r--utils/gdpr_request.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/utils/gdpr_request.php b/utils/gdpr_request.php
new file mode 100644
index 0000000..fc036fe
--- /dev/null
+++ b/utils/gdpr_request.php
@@ -0,0 +1,24 @@
+<?php
+
+ /*
+ * Skripta ki se klice ko respondent poslje zahtevek za izbris oz. vpogled v podatke (GDPR zahtevek)
+ */
+
+ include_once('../admin/survey/definition.php');
+ include_once('../function.php');
+ include_once('../vendor/autoload.php');
+
+ // Testiranje...
+ /*$_POST = array(
+ 'email' => 'xxx.yy@gg.si',
+ 'srv-name' => 'Test ime',
+ 'srv-url' => 'http://1ka/a/75/xcxx?fsad=erwre',
+ 'gdpr-action' => '3',
+ 'gdpr-note' => 'blabalbalb asfasf',
+ 'gdpr-notice-me' => '1'
+ );*/
+
+ $gdpr = new GDPR();
+ $gdpr->sendGDPRRequest($_POST);
+
+?> \ No newline at end of file