-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtestsave2.php
More file actions
124 lines (87 loc) · 2.35 KB
/
testsave2.php
File metadata and controls
124 lines (87 loc) · 2.35 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?php
session_start();
$id=1;
if(isset($_SESSION["ID"])){$id=$_SESSION["ID"]; $id++;}
$_SESSION["ID"]=$id;
$file= fopen("savings.txt","a");
$t1=$_SESSION["ID"];
$n="\r\n";
fwrite($file,$t1);
$t2=" Name: ".$_SESSION["NOA"];
$t3=" Second Part : ".$_SESSION["SP"];
$t4=" First Part : ".$_SESSION["FP"];
$t5=" Gender : ".$_SESSION["G"];
$t6=" Nationality : ".$_SESSION["NAT"];
$t7=" Date Of Birth : ".$_SESSION["DOB"];
$t8=" Address : ".$_SESSION["VH"];
$t9=" Father's Name : ".$_SESSION["FN"];
$t10=" Mother's Name : ".$_SESSION["MN"];
$t11=" Spouse's Name : ".$_SESSION["SN"];
$t12=" NID : ".$_SESSION["NIN"];
$t13=" BID : ".$_SESSION["BIN"];
$t14=" Passport NO : ".$_SESSION["PassNo"];
$t15=" Applying In : ".$_SESSION["AI"];
$t16=" Payment Type : ".$_SESSION["PT"];
$t17=" Mobile NO : ".$_SESSION["MOBNo"];
$t18=" District : ".$_SESSION["DIS"];
$t19=" Permanent District : ".$_SESSION["PDIS"];
$t20=" Email : ".$_SESSION["E"];
$t21=" Amount : ".$_SESSION["inamo"];
$t22=" Payment Date : ".$_SESSION["DOPAY"];
$t23=" Receipt No : ".$_SESSION["RCPTNO"];
$t24=" Bank Name : ".$_SESSION["NOB"];
$t25=" Branch Name : ".$_SESSION["NOBR"];
fwrite($file,$t2);
fwrite($file,$n);
fwrite($file,$t3);
fwrite($file,$n);
fwrite($file,$t4);
fwrite($file,$n);
fwrite($file,$t5);
fwrite($file,$n);
fwrite($file,$t6);
fwrite($file,$n);
fwrite($file,$t7);
fwrite($file,$n);
fwrite($file,$t8);
fwrite($file,$n);
fwrite($file,$t9);
fwrite($file,$n);
fwrite($file,$t10);
fwrite($file,$n);
fwrite($file,$t11);
fwrite($file,$n);
fwrite($file,$t12);
fwrite($file,$n);
fwrite($file,$t13);
fwrite($file,$n);
fwrite($file,$t14);
fwrite($file,$n);
fwrite($file,$t15);
fwrite($file,$n);
fwrite($file,$t16);
fwrite($file,$n);
fwrite($file,$t17);
fwrite($file,$n);
fwrite($file,$t18);
fwrite($file,$n);
fwrite($file,$t19);
fwrite($file,$n);
fwrite($file,$t20);
fwrite($file,$n);
fwrite($file,$t21);
fwrite($file,$n);
fwrite($file,$t22);
fwrite($file,$n);
fwrite($file,$t23);
fwrite($file,$n);
fwrite($file,$t24);
fwrite($file,$n);
fwrite($file,$t25);
fwrite($file,$n);
fclose($file);
header("Location:done.php");
//echo '<pre>';
//print_r($GLOBALS);
//echo '</pre>';
?>