You are here: Re: CGI script form to email « PHP Programming Language « IT news, forums, messages
Re: CGI script form to email

Posted by Michael Vilain on 12/18/57 11:49

In article <1149546425.818481.279120@g10g2000cwb.googlegroups.com>,
"Mr B" <mrb_16@hotmail.com> wrote:

> Hi all,
>
> I am desperately seeking some guidance/help for this project. I have
> designed a form using html and it is designed to collect feedback from
> a user. It is now on a web server, but I don't know how to get it to
> return results to an email address when the submit button is pressed.
> I have tried using the <form method="post"
> action="mailto:blahblah@hotmail.com> but this brings up a dialog box
> which requires outlook express to communicate with hotmail which it
> won't do.
>
> So I presume I need a CGI script to do this, has anyone done this
> before who could tell me what I need to do?? I need this done
> desperately by Wednesday if this is possible.
>
> Thanks alot
>
> Daniel

If you're using php, check out the mail() function.

http://us3.php.net/manual/en/ref.mail.php

It will allow you to collect the information and if $_POST variables
exist, mail them to whereever. It's a straightforward bit of coding.

Good luck.

--
DeeDee, don't press that button! DeeDee! NO! Dee...

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация