xCandy
02-09-2006, 03:42 AM
i need an email / contact me form and ive had someone give me this code but i have no clue how to work it since i was told i have to upliad some thing :S help please im in a huge hurry
i filled out the "your email" and " ur url of thank you page" but its not working
<form action="ledformmail.php" method="POST"
<input type="hidden" name="to"
value="ENTER YOUR EMAIL ADDRESS HERE"><input type="hidden"
name="subject" value="Comments from Website"><input
type="hidden" name="redirect"
value="ENTER THE URL OF YOUR THANK YOU PAGE HERE"><p
align="center"> </p>
<p align="center"><strong><font size="2"
face="Verdana">Your Name<br>
</font><font color="#A87D26" size="2"
face="Verdana">
<input type="text" size="28" name="name" textarea></font><font size="2"
face="Verdana"> <br>
Town / City<br>
</font><font color="#A87D26" size="2"
face="Verdana">
<input type="text" size="33" name="town" textarea></font><font size="2"
face="Verdana"><br>
Email Address<br>
</font><font color="#A87D26" size="2"
face="Verdana">
<input type="text" size="30" name="email" textarea></font><font size="2"
face="Verdana"><br>
Phone Number<br>
</font><font color="#A87D26" size="2"
face="Verdana">
<input type="text" size="25" name="phone" textarea></font><font size="2"
face="Verdana"><br>
<br>
Comments<br>
</font><font color="#A87D26" size="2"
face="Verdana">
<textarea name="Comments" rows="6" cols="40"></textarea>
<br>
<input type="submit" value="Submit Description"></font></strong></p>
</form>
xCandy
02-09-2006, 05:15 AM
or any other codes that enable me to have a costom thank you page would be great
You could also use a custom e-mail form. :) They're easier to handle!
try bravenet.com
or http://www.freedback.com/Thanks%20for%20entering!%20Your%20entrie%20should% 20be%20added%20by%20the%20next%20update!
these are quite good :)
allie
02-09-2006, 01:15 PM
Here's an email form generator, if you have problems let someone know:
http://www.tele-pro.co.uk/scripts/contact_form/
xCandy
02-10-2006, 12:56 AM
thank you very much to both of you ^^ i will try them right now and get back to you if i need further assistance :D thanx again
xCandy
02-10-2006, 03:25 AM
*snif snif* :crying: Rose your link is good but i cant have my own thank you page :crying: and Allie that site you gave me i have tried a wile back lol its the most confusing thing ever :P im such a noob :crying: thank you any ways
:( i need it to be able to let me have my own thank you page, and so that the message is send to my email :P thats it lol
Some thing like this site :( http://www.pinkgoddessdolls.net/interact/contact/contact.php
luvhartz
02-11-2006, 03:15 PM
thats done in PHP [if your host supports PHP] try this:
create a file called send. php, copy this code and change the red, and save the file to your webserver.
<html>
<head>
<title>Sending message</title>
</head>
<body>
<?php
// put your email adres here
$emailAdres = "youremailadress";
// change POST variables to normal ones
$nameFromSender = $_POST['form_name'];
$emailFromSender = $_POST['form_email'];
$messageFromSender = $_POST['form_message'];
// put the name from the sender and the message in one email:
$messageToSend = "Sender name: $nameFromSender\n Email adres from sender: $emailFromSender\n Message from sender: $messageFromSender";
// Send the message
mail($emailAdres, "contact", $messageToSend) or die("Could not send the message, sorry");
echo "Message has been sent!";
?>
</body>
</html>
Then, create a file called contact.htm [or whatever you want to call it] and copy and paste this code:
<form method="post" action="send.php">
<table>
<tr>
<td align="right">Name:</td>
<td><input type="text" name="form_name" size="30"></td>
</tr>
<tr>
<td align="right">Email:</td>
<td><input type="text" name="form_email" size="30"</td>
</tr>
<tr>
<td align="right">Message:</td>
<td><textarea name="form_message" rows="8" cols="50"></textarea></td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="send"></td>
</tr>
</table>
</form>
There, your done! Now thats a very simple form, but you could add more if you need to, goodluck!
Tracey
02-11-2006, 06:33 PM
If your host doesn't support PHP:
http://html-form.com
http://response-o-matic.com
xCandy
02-18-2006, 02:40 AM
thats done in PHP [if your host supports PHP] try this:
create a file called send. php, copy this code and change the red, and save the file to your webserver.
<html>
<head>
<title>Sending message</title>
</head>
<body>
<?php
// put your email adres here
$emailAdres = "youremailadress";
// change POST variables to normal ones
$nameFromSender = $_POST['form_name'];
$emailFromSender = $_POST['form_email'];
$messageFromSender = $_POST['form_message'];
// put the name from the sender and the message in one email:
$messageToSend = "Sender name: $nameFromSender\n Email adres from sender: $emailFromSender\n Message from sender: $messageFromSender";
// Send the message
mail($emailAdres, "contact", $messageToSend) or die("Could not send the message, sorry");
echo "Message has been sent!";
?>
</body>
</html>
Then, create a file called contact.htm [or whatever you want to call it] and copy and paste this code:
<form method="post" action="send.php">
<table>
<tr>
<td align="right">Name:</td>
<td><input type="text" name="form_name" size="30"></td>
</tr>
<tr>
<td align="right">Email:</td>
<td><input type="text" name="form_email" size="30"</td>
</tr>
<tr>
<td align="right">Message:</td>
<td><textarea name="form_message" rows="8" cols="50"></textarea></td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="send"></td>
</tr>
</table>
</form>
There, your done! Now thats a very simple form, but you could add more if you need to, goodluck!
:eek: how do i create a send.php file? and how do i use it like where dose it need to be uploaded :s
bigguk
02-25-2006, 01:10 PM
Ive been looking for a code for a good form. Thanks.