summaryrefslogtreecommitdiffstats
path: root/utils/gdpr_request.php
blob: fc036fe91a5c1e3973c442cd7cafc1b50a7ea667 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);	

?>