summaryrefslogtreecommitdiffstats
path: root/utils/gdpr_request.php
diff options
context:
space:
mode:
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