URL: https://www.overclockers.at/coding-stuff/need_help_with_php_contact_form_175475/page_1 - zur Vollversion wechseln!
in der flash datei is beim submit button folgendes eingetragen:
Zitaton(release) {
_parent.getURL("contact.php","_blank","GET");
_parent.name = "Name";
_parent.email = "Email";
_parent.phone = "Phone";
_parent.message = "Message";
}
Zitat<?php
$name = $_GET['Name'];
$email = $_GET['Email'];
$phone = $_GET['Phone'];
$message = $_GET['Message'];
$recipient_emai = "studio@photography-urban.com";
$subject = "from " . $name;
$headers = "From: " . $name . " <" . $email . ">\n";
$headers .= 'Content-type: text/html; charset=iso-8859_1';
$content = "<html><head><title>Contact letter</title></head><body><br>";
$content .= "Name: <b>" . $name . "</b><br>";
$content .= "Phone: <b>" . $phone . "</b><br>";
$content .= "Email: <b>" . $email . "</b><br><hr><br>";
$content .= $message;
$content .= "<br></body></html>";
mail($recipient_email,$subject,$content,$headers);
?>
<HTML>
<BODY BGCOLOR="#46463F">
<DIV ALIGN="center" STYLE"margin-top:60px;color:'FFFFFF;font-size:11px;font-family:Tahoma;font-weight:bold">
Your message was sent. Thanky you!
</DIV>
</BODY>
</HTML>
<script>resizeTo(300, 300)</script>
auf die schnelle sehe ich nur:
da fehlt ein "l".Zitat$recipient_emai = "studio@photography-urban.com"
thx for fast respond!
overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2025