|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Need a script to send email via form
Would like to add a form to my web page and send the results to me via email. I found a couple from hotscripts, but they aren't customizable. I may be forced to use PHP and use the mail function.
|
|
#2
|
||||
|
||||
|
__________________
~ishnid; Have you tried: [ search.cpan.org | perldoc | Java API | mysql.com | google ] Apostrophes are NOT used for possessive pronouns or for noun plurals, including acronyms. |
|
#3
|
|||
|
|||
|
Hi lilcam
This Form Mail Script has templates for HTML and e-mail so you can customize the layout of both. Best regards NN |
|
#4
|
||||
|
||||
|
If your server doesn't have PHP, this one can use Perl or PHP.
http://www.thesitewizard.com/wizards/feedbackform.shtml
__________________
Mother says my .sig can beat up your .sig. |
|
#5
|
|||
|
|||
|
I have somekind a same problem. I mean I DON"T know how it works at all- I need to have a form on one of my pages collecting all info I need and sending it to me via e-mail ( form will contain like 5-6 questions)- now I ve read that I need to use some kind of CGI (???) and my hosting company doesn't support it- so what should I do and how do I create such a form on my page???????????? Thannk you!
|
|
#6
|
|||
|
|||
|
Simple Script
Ok, so on one page you need to set up the form with field names like "name", "address", "phone", "zip"
the the form tag should read <form action=sendmail.php mathod=post> <input type=text name=name> ....the other fields you want </form> for sendmial.php <? while(list($key, $value)=each($HTTP_POST_VARS)){ $$key = $value; } $message = "Website Sendmail\r\n"; $message .= "Name: $name\r\n"; $message .= "Address: $address\r\n"; etc. mail("email to send to","Subject", $message); ?> Visit my site www.mkmair.com for example of this type. |
|
#7
|
|||
|
|||
|
|
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > Need a script to send email via form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|