Created
March 25, 2016 13:33
-
-
Save mihailsitnic/af00853d62b83c8d14fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
print_r($_POST); | |
$message=""; | |
$message .= " " . $_POST["Your_Name"]." "; | |
$message .= " " . $_POST["Debt_Problem"]." "; | |
$message .= " " . $_POST["Work_Phone"]." "; | |
$message .= " " . $_POST["Home_Phone"]." "; | |
$message .= " " . $_POST["Fax"]." "; | |
$message .= " " . $_POST["Mobile"]." "; | |
$message .= " " . $_POST["Email"]." "; | |
$message .= " " . $_POST["Debt"]." "; | |
$message .= " " . $_POST["Debtor's_name"]." "; | |
$message .= " " . $_POST["Debtor's_current_address"]." "; | |
$message .= " " . $_POST["Debt_outstanding_since:_"]." "; | |
$message .= " " . $_POST["venue"]." "; | |
$message = <<<EOF | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>First International Debt Collection</title> | |
<link rel="stylesheet" href="css/normalize.css"> | |
<link rel="stylesheet" href="css/style.css"> | |
<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script> | |
</head> | |
<body> | |
<section class="section"> | |
<ul> | |
<li>*Debtor's current address:</li> | |
<li>M.Spataru 13/2 ap 165</li> | |
</ul> | |
<ul> | |
<li>*Debtor's current address:</li> | |
<li>M.Spataru 13/2 ap 165</li> | |
</ul> | |
<ul> | |
<li>*Debtor's current address:</li> | |
<li>M.Spataru 13/2 ap 165</li> | |
</ul> | |
<ul> | |
<li>*Debtor's current address:</li> | |
<li>M.Spataru 13/2 ap 165</li> | |
</ul> | |
<ul> | |
<li>*Debtor's current address:</li> | |
<li>M.Spataru 13/2 ap 165</li> | |
</ul> | |
<ul> | |
<li>*Debtor's current address:</li> | |
<li>M.Spataru 13/2 ap 165</li> | |
</ul> | |
<ul> | |
<li>*Debtor's current address:</li> | |
<li>M.Spataru 13/2 ap 165</li> | |
</ul> | |
<ul> | |
<li>*Debtor's current address:</li> | |
<li>M.Spataru 13/2 ap 165</li> | |
</ul> | |
<ul> | |
<li>*Debtor's current address:</li> | |
<li>M.Spataru 13/2 ap 165</li> | |
</ul> | |
<ul> | |
<li>*Debtor's current address:</li> | |
<li>M.Spataru 13/2 ap 165</li> | |
</ul> | |
</section> | |
</body> | |
</html> | |
EOF; | |
mail("mihail.sitnic@gmail.com","subject",$message); | |
mail("mihail.sitnic@gmail.com", "subject", "message"); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment