-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgetImportName.php
More file actions
45 lines (32 loc) · 1.02 KB
/
Copy pathgetImportName.php
File metadata and controls
45 lines (32 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
header('Access-Control-Allow-Origin: *');
header("Cache-Control: no-cache, must-revalidate");
require_once('share.php');
$email = $_GET["email"];
$pwd = $_GET["pwd"];
$emailData = $_GET['emailData'];
$LastName = $_GET['LastName'];
$FirstName = $_GET['FirstName'];
$opr1 = $_GET['opr1'];
$opr2 = $_GET['opr2'];
$opr3 = $_GET['opr3'];
$Product = $_GET['Product'];
$account = $_GET["account"];
$PartnerGuid = $_GET["PartnerGuid"];
$PartnerPassword = $_GET["PartnerPassword"];
$_SESSION['emailData'] = $emailData;
$_SESSION['LName'] = $LastName;
$_SESSION['FName'] = $FirstName;
$_SESSION['opr1'] = $opr1;
$_SESSION['opr2'] = $opr2;
$_SESSION['opr3'] = $opr3;
$_SESSION['Product'] = $Product;
if ($account) {
$SelectedAccountID = $account;
} else {
$SelectedAccountID = 228;
}
$USERTICKET = getTicket($SelectedAccountID, $email, $pwd, $PartnerGuid, $PartnerPassword);
//echo "USERTICKET = $USERTICKET<br>";
$rows = loadImportName($USERTICKET,FOLDER,$FirstName,$LastName,$emailData,$opr1,$opr2,$opr3);
echo json_encode($rows);