Click to See Complete Forum and Search --> : I need help!?!


Webbie101
10-25-2005, 10:36 AM
This is probley not the right forum for this, but I am trying to make "forms".
What I need is to know how do I make them send from the page, and not from an email.. If you know what I mean, Because I use Outlook Express.. and Not everyone uses Outlook Express... So, Im worried that my forms will not send to me!

Can someone help me!


Thanks!

rhsunderground
10-25-2005, 05:11 PM
http://www.webdevfaqs.com/php.php

LiLcRaZyFuZzY
10-25-2005, 05:13 PM
Do you want a contact page(form) on a site, or what?

the tree
10-25-2005, 05:32 PM
The "mailto" action relies on your visitors mail client wich is a pretty impractical approach. You would be better off using a process that runs on your server (Server Side Scripting).
Client-side languages (HTML, CSS, Javascript) affect the behaviour of browsers. Server-side languages affect the behaviour of servers. If you want to edit a file, maintain a database or send an e-mail then you need a server side language. Which one you use (PHP, ASP, ASP.net, CGI-Perl, JSP, ColdFusion) depends on what your host supports and on any prior experience that you may have.
If your host doesn't support any server-side scripting then you can always use a remotely hosted service. <form action="http://php.richardturner.com/mailer.php" method="post">
<input type="hidden" name="form_email" value="YOUR_EMAIL@DOMAIN" />
<input type="hidden" name="form_thankyou" value="http://www.YOURSITE.com/THANKYOUPAGE.HTML" />
< -- Your Form Here -- > <input type="submit" value="Submit" />
</form> (Dont forget to replace the email and thankyou page with your own.)

LiLcRaZyFuZzY
10-25-2005, 05:35 PM
tree, did you have to put all that uppercase? :P
it looks awful :P

Webbie101
10-25-2005, 10:08 PM
The "mailto" action relies on your visitors mail client wich is a pretty impractical approach. You would be better off using a process that runs on your server (Server Side Scripting).
Client-side languages (HTML, CSS, Javascript) affect the behaviour of browsers. Server-side languages affect the behaviour of servers. If you want to edit a file, maintain a database or send an e-mail then you need a server side language. Which one you use (PHP, ASP, ASP.net, CGI-Perl, JSP, ColdFusion) depends on what your host supports and on any prior experience that you may have.
If your host doesn't support any server-side scripting then you can always use a remotely hosted service. <form action="http://php.richardturner.com/mailer.php" method="post">
<input type="hidden" name="form_email" value="YOUR_EMAIL@DOMAIN" />
<input type="hidden" name="form_thankyou" value="http://www.YOURSITE.com/THANKYOUPAGE.HTML" />
< -- Your Form Here -- > <input type="submit" value="Submit" />
</form> (Dont forget to replace the email and thankyou page with your own.)
Thanks!