|
|
@@ -22,26 +22,6 @@ if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
|
|
|
echo "invalid";
|
|
|
exit;
|
|
|
}
|
|
|
-$parts = explode("@",$email);
|
|
|
-$domain = $parts[1];
|
|
|
-
|
|
|
-if (!strcasecmp($domain,"seecure.ch")) {
|
|
|
- echo "no1";
|
|
|
- exit;
|
|
|
-}
|
|
|
-if (!strcasecmp($domain,"seemail.ch")) {
|
|
|
- echo "no2";
|
|
|
- exit;
|
|
|
-}
|
|
|
-if (!strcasecmp($domain,"thurmail.ch")) {
|
|
|
- echo "no3";
|
|
|
- exit;
|
|
|
-}
|
|
|
-if (!strcasecmp($domain,"thurbit.ch")) {
|
|
|
- echo "no4";
|
|
|
- exit;
|
|
|
-}
|
|
|
-
|
|
|
$productID = $_GET['pid'];
|
|
|
|
|
|
$accessData = array('nextcloudServer' => '', 'adminUser' => '', 'adminPass' => '');
|
|
|
@@ -108,11 +88,6 @@ if ($response->ocs->meta->statuscode != '100') {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
function nextcloud_send($href, $username, $password, $action, $post = array()) {
|
|
|
$postdata = http_build_query($post);
|
|
|
$ch = curl_init();
|