contact.php script for contact form in website
3 posters
Page 1 of 1
contact.php script for contact form in website
Hi im making a new website for a friend, its made in flash and in my flash i have a contact form for people to send feedback and such, and for that i have uploaded a contact.php script too get the jobe done.
But i think there is an error somewere. Could a "pro" take a loke at it
here goes...
<?php
$your_name = $_GET['name'];
$your_email = $_GET['email'];
$your_message = $_GET['message'];
$recipient_email = "scripts4he@yahoo.com";
$subject = "from: " . $your_email";
$headers = "From: " . $yourname . " <" . $your_email . ">\n;
$headers .= 'Content-type: text/html; charset=iso-8859-1';
$content = "<html><head><title>Contact letter</title></head><body><br>";
$content .= "Name: <b>" . $your_name . "</b><br>";
$content .= "E-mail: <b>" . $your_email . "</b><br><hr><br>";
$content .= $your_message;
$content .= "<br></body></html>";
mail($recipient_email,$subject,$content,$headers);
?>
<html>
<body bgcolor="#282E2C">
<div align="center" style="margin-top:60px;color:#FFFFFF;font-size:11px;font-family:Tahoma;font-weight:bold">
Your message was sent. Thank you.
</div>
</body>
</html>
<script>resizeTo(300, 300)</script>
So?
I could allso need and answer to how i put a ready made flash music player into a nother fla/swf/flash file, and have it set to play form the beginning. and stays until user leaves the site.
and.. also how to put a poll box in the flash site too..
Any help apriciated.
Best ragards
But i think there is an error somewere. Could a "pro" take a loke at it
here goes...
<?php
$your_name = $_GET['name'];
$your_email = $_GET['email'];
$your_message = $_GET['message'];
$recipient_email = "scripts4he@yahoo.com";
$subject = "from: " . $your_email";
$headers = "From: " . $yourname . " <" . $your_email . ">\n;
$headers .= 'Content-type: text/html; charset=iso-8859-1';
$content = "<html><head><title>Contact letter</title></head><body><br>";
$content .= "Name: <b>" . $your_name . "</b><br>";
$content .= "E-mail: <b>" . $your_email . "</b><br><hr><br>";
$content .= $your_message;
$content .= "<br></body></html>";
mail($recipient_email,$subject,$content,$headers);
?>
<html>
<body bgcolor="#282E2C">
<div align="center" style="margin-top:60px;color:#FFFFFF;font-size:11px;font-family:Tahoma;font-weight:bold">
Your message was sent. Thank you.
</div>
</body>
</html>
<script>resizeTo(300, 300)</script>
So?
I could allso need and answer to how i put a ready made flash music player into a nother fla/swf/flash file, and have it set to play form the beginning. and stays until user leaves the site.
and.. also how to put a poll box in the flash site too..
Any help apriciated.
Best ragards
Gangsta2Guns- Forumember
- Posts : 74
Reputation : 0
Language : Danish
Re: contact.php script for contact form in website
erm, you cant upload PHP to forumotion ... , your problem is not related to forumotion...
nelsaidi2- Forumember
- Posts : 36
Reputation : 0
Language : English
Re: contact.php script for contact form in website
Indeed, php is not allowed on forumotion forums.
If you want help, you should go to a specialized forum
Topic locked
If you want help, you should go to a specialized forum

Topic locked


» Contact Form posts as script, help?
» Allow users to contact me by email: by a website form
» Help with Contact form!
» Contact form who can use it
» Contact form
» Allow users to contact me by email: by a website form
» Help with Contact form!
» Contact form who can use it
» Contact form
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum