FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

contact form

 


Saber
ok I feel stupid again... could some one either help or show me where to figure out how to make a contact form that gets sent to an email, without using php or cgi... -_-
Nyizsa
I don't think it is possible without using a server-side scripting language. Simple HTML will not do it, for sure. And I don't think Javascript will do either. But it is quite simple in PHP using the mail() function. But on some servers it is disabled. I'm not sure about Frihost...
dandelion
You can assign the mailto: address to the action attribute of the form element as shown below. Please note on the enctype attribute as well.
Code:
<form action="mailto:you@example.com" method="post" enctype="text/plain">

It may or may not work in some browsers.
madcap
Use something like this:

HTML>
<TITLE> Form with feedback</TITLE>
<BODY>
<H2>Contact < Your Title></H2>
<P>For more details of our services please complete this form
<FORM METHOD = Post ACTION =mailto:you@youremail.co.uk>
<P>E-Mail: <INPUT TYPE = text NAME=email SIZE=30>
<P>Real name and address:
<BR><TEXTAREA NAME= Address ROWS=4 COLS =40>
</TEXTAREA>
<INPUT TYPE = Submit VALUE="Send">
<INPUT TYPE= Reset Value="Clear the Form">
</form>
</html>

When you receive any replies they will be seperated by '+'

Hope that helps

Pete
Reply to topic    Frihost Forum Index -> Computers -> Computer Problems and Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.