update from email
This commit is contained in:
parent
2ce3a1a2e0
commit
40cead1b80
|
@ -42,7 +42,7 @@ if ($_POST) {
|
||||||
$from = $name . " <" . $email . ">";
|
$from = $name . " <" . $email . ">";
|
||||||
|
|
||||||
// Email Headers
|
// Email Headers
|
||||||
$headers = "From: tilde admin<admin@tilde.team>\r\n";
|
$headers = "From: admin<admin@benharri.com>\r\n";
|
||||||
$headers .= "Reply-To: ". $email . "\r\n";
|
$headers .= "Reply-To: ". $email . "\r\n";
|
||||||
$headers .= "MIME-Version: 1.0\r\n";
|
$headers .= "MIME-Version: 1.0\r\n";
|
||||||
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
|
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
|
||||||
|
|
52
index.php
52
index.php
|
@ -260,38 +260,38 @@ include 'header.html';
|
||||||
<div class="eight columns">
|
<div class="eight columns">
|
||||||
|
|
||||||
<!-- form -->
|
<!-- form -->
|
||||||
<form action="" method="post" id="contactForm" name="contactForm">
|
<form action="" method="post" id="contactForm" name="contactForm">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label for="contactName">Name <span class="required">*</span></label>
|
<label for="contactName">Name <span class="required">*</span></label>
|
||||||
<input type="text" value="" size="35" id="contactName" name="contactName">
|
<input type="text" value="" size="35" id="contactName" name="contactName">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label for="contactEmail">Email <span class="required">*</span></label>
|
<label for="contactEmail">Email <span class="required">*</span></label>
|
||||||
<input type="text" value="" size="35" id="contactEmail" name="contactEmail">
|
<input type="text" value="" size="35" id="contactEmail" name="contactEmail">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label for="contactSubject">Subject</label>
|
<label for="contactSubject">Subject</label>
|
||||||
<input type="text" value="" size="35" id="contactSubject" name="contactSubject">
|
<input type="text" value="" size="35" id="contactSubject" name="contactSubject">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label for="contactMessage">Message <span class="required">*</span></label>
|
<label for="contactMessage">Message <span class="required">*</span></label>
|
||||||
<textarea cols="50" rows="15" id="contactMessage" name="contactMessage"></textarea>
|
<textarea cols="50" rows="15" id="contactMessage" name="contactMessage"></textarea>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<button class="submit">Submit</button>
|
<button class="submit">Submit</button>
|
||||||
<span id="image-loader">
|
<span id="image-loader">
|
||||||
<img alt="" src="images/loader.gif">
|
<img alt="" src="images/loader.gif">
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form> <!-- Form End -->
|
</form> <!-- Form End -->
|
||||||
|
|
||||||
<!-- contact-warning -->
|
<!-- contact-warning -->
|
||||||
<div id="message-warning"> Error boy</div>
|
<div id="message-warning"> Error boy</div>
|
||||||
|
|
Loading…
Reference in New Issue