The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

contact.php script for contact form in website

3 posters

Go down

contact.php script for contact form in website Empty contact.php script for contact form in website

Post by Gangsta2Guns Sun 7 Jun 2009 - 12:13

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
avatar
Gangsta2Guns
Forumember

Posts : 74
Reputation : 0
Language : Danish

View user profile

Back to top Go down

contact.php script for contact form in website Empty Re: contact.php script for contact form in website

Post by nelsaidi2 Sun 7 Jun 2009 - 14:02

erm, you cant upload PHP to forumotion ... , your problem is not related to forumotion...
avatar
nelsaidi2
Forumember

Posts : 36
Reputation : 0
Language : English

View user profile

Back to top Go down

contact.php script for contact form in website Empty Re: contact.php script for contact form in website

Post by Eximma Sun 7 Jun 2009 - 18:04

Indeed, php is not allowed on forumotion forums.

If you want help, you should go to a specialized forum Wink

Topic locked Wink
Eximma
Eximma
Active Poster

Male Posts : 1358
Reputation : 36
Language : French, English, learning japanese [gave up with german :'(]
Location : France

View user profile https://help.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum