-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmailparse.php
More file actions
39 lines (21 loc) · 744 Bytes
/
mailparse.php
File metadata and controls
39 lines (21 loc) · 744 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
32
33
34
35
36
37
38
39
<?php
include('config.php');
//echo $_GET['id'].'<br>';
//echo $_GET['recieved_at'].'<br>';
$fname = $_GET['fname'];
$lname = $_GET['lname'];
$email = $_GET['email_text'];
$phn = $_GET['phone_text'];
$add = $_GET['address_text'];
$city = $_GET['city_text'];
$state = $_GET['state_text'];
$zip = $_GET['zip_text'];
$desc = $_GET['description_text'];
//echo $_GET['custom_1_text'].'<br>';
//echo $_GET['custom_2_text'].'<br>';
//echo $_GET['custom_3_text'].'<br>';
//echo $_GET['custom_4_text'].'<br>';
//echo $_GET['custom_5_text'];
$sql = "insert into leads(fname,lname,email,phone,address,city,state,zip,descr) values ('$fname','$lname','$email','$phn','$add','$city','$state','$zip','$desc')";
$query = mysql_query($sql);
?>