Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f305a3
commit 224a88c
Showing
5 changed files
with
65 additions
and
7 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
// Predefined Variables | ||
$sender = "noreply@ralph-moecklinghoff.de"; | ||
$to = "mail@ralph-moecklinghoff.de"; | ||
$subject = "Anfrage über Homepage"; | ||
|
||
$name = htmlspecialchars($_REQUEST['name']); | ||
$mail = htmlspecialchars($_REQUEST['mail']); | ||
$anfrage = htmlspecialchars($_REQUEST['anfrage']); | ||
|
||
$message = "Anfrage von der Website:\n\nName: " . $name . "\nMail:\t" . $mail ."\nAnfrage:\t" . $anfrage; | ||
|
||
$headers = "From: $sender"; | ||
|
||
$sent = mail($to, $subject, $message, $headers); | ||
|
||
$headers = "From: $fromnReply-To: | ||
$fromnContent-type: text/plain; charset=iso-8859-1"; | ||
|
||
if($sent) | ||
{print "Vielen Dank für Ihre Kontaktaufnahme, ich melden mich bei Ihnen."; } | ||
else | ||
{print "Beim Senden der Anfrage ist leider ein Fehler aufgetreten."; } | ||
|
||
?> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
// | ||
// Kontakt Page Stylesheet | ||
// | ||
// | ||
.kontakt | ||
|
||
p#note | ||
margin: 1em 2.2em 0 0 | ||
font-family: gesta, 'Lucida Grande', 'Lucida Sans Unicode', Arial, sans-serif |