PDA

View Full Version : Please Help!



raediaz815
03-15-2009, 09:41 PM
Hello, I am trying to add a form to my webpage for a birthday club. I used www.phpform.com to create the form. I would like the information to just be emailed to me. but I cannot get it to upload. what type of file should it be, and where do I upload it to?

mhJr_
03-16-2009, 10:54 PM
Hello, I am trying to add a form to my webpage for a birthday club. I used www.phpform.com to create the form. I would like the information to just be emailed to me. but I cannot get it to upload. what type of file should it be, and where do I upload it to?

Make sure the following is included via html on your page:

<form id="forCSS" name="" method="post" action="http://yourdomain.com/formmailer.php">
<input type="hidden" name="recipients" value="username@domain.com" />

<label>Name</label>
<input type="text" name="Name" />
<label>Email</label>
<input type="text" name="Email" />
<label>Phone Number</label>
<input type="text" name="Phone#" />
</form>

You can upload the formmailer.php anywhere on your server you like, I normally put the php file in /scripts . Make sure you change the action value to fit where ever you decide to put your formmailer.php

Make sure you edit the formmailer.php, usually they have instructions via comments at the top of the php file. There normally is only one to three fields that require editing.

Hope this helps.