-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsessionTester.php
More file actions
31 lines (30 loc) · 851 Bytes
/
sessionTester.php
File metadata and controls
31 lines (30 loc) · 851 Bytes
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
<?php
$email = "knight@ares.com";
$password = "client";
$passConfirm = "client";
$baseLocation = "New York";
$err = false;
$clientName = "Ares Macrotechnology";
$destination = "Capri";
$dateListed = "2019-05-14 00:00:00";
$rate = "1692";
$weight = "1";
$origin = "Mulhouse";
$miles = "344";
$clientID="3";
session_start();
$_SESSION["clientName"] = $clientName;
$_SESSION["email"] = $email;
$_SESSION["password"] = $password;
$_SESSION["passConfirm"] = $passConfirm;
$_SESSION["baseLocation"] = $baseLocation;
$_SESSION["origin"] = $origin;
$_SESSION["destination"] = $destination;
$_SESSION["dateListed"] = $dateListed;
$_SESSION["rate"] = $rate;
$_SESSION["weight"] = $weight;
$_SESSION["clientID"] = $clientID;
$_SESSION['miles']= $miles;
$_SESSION['clientName']=$clientName;
header("Location: editListing.php");
?>