By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,347 Members | 1,390 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,347 IT Pros & Developers. It's quick & easy.

Generating email from Form Input

P: n/a
I have a form on my webpage. I would like visitors to complete this
form and click a send button that generates an email. How can this be
done? With Javascript of PHP? In either case, please send me pointers
to where I can find more information. (I am an utter PHP noob.)

Thanks,

- Olumide
Jul 17 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
In my infrastructure I have a separate class for each business entity
(database table) but each of these class instances communicate to the
database through a single DML class instance. The trick is to create the DML
instance in a global variable where it can be accessed by any and all
business entity instances.

I have put together a sample application (described in
http://www.tonymarston.net/php-mysql...plication.html) which can be
run online. You can also download all the source code to see how it is done.

Hope this helps.

--
Tony Marston

http://www.tonymarston.net

"Olumide" <50***@web.de> wrote in message
news:c8**************************@posting.google.c om...
I have a form on my webpage. I would like visitors to complete this
form and click a send button that generates an email. How can this be
done? With Javascript of PHP? In either case, please send me pointers
to where I can find more information. (I am an utter PHP noob.)

Thanks,

- Olumide

Jul 17 '05 #2

P: n/a
Whoops. Ignore this. I replied to the wrong question.

Tony Marston

"Tony Marston" <to**@NOSPAM.demon.co.uk> wrote in message
news:c9*******************@news.demon.co.uk...
In my infrastructure I have a separate class for each business entity
(database table) but each of these class instances communicate to the
database through a single DML class instance. The trick is to create the DML instance in a global variable where it can be accessed by any and all
business entity instances.

I have put together a sample application (described in
http://www.tonymarston.net/php-mysql...plication.html) which can be
run online. You can also download all the source code to see how it is done.
Hope this helps.

--
Tony Marston

http://www.tonymarston.net

"Olumide" <50***@web.de> wrote in message
news:c8**************************@posting.google.c om...
I have a form on my webpage. I would like visitors to complete this
form and click a send button that generates an email. How can this be
done? With Javascript of PHP? In either case, please send me pointers
to where I can find more information. (I am an utter PHP noob.)

Thanks,

- Olumide


Jul 17 '05 #3

P: n/a
In article <c8**************************@posting.google.com >, Olumide
says...
I have a form on my webpage. I would like visitors to complete this
form and click a send button that generates an email. How can this be
done? With Javascript of PHP? In either case, please send me pointers
to where I can find more information. (I am an utter PHP noob.)


PHP - read the info. on the mail() function in the PHP documentation.
It's very straightforward.

--
Hywel I do not eat quiche
http://kibo.org.uk/
http://kibo.org.uk/mfaq.php
Jul 17 '05 #4

P: n/a
On 5 Jun 2004 04:00:43 -0700, 50***@web.de (Olumide) wrote:
I have a form on my webpage. I would like visitors to complete this
form and click a send button that generates an email.


You can create such a PHP-script with my Online Form-Generator and
receive the PHP-Code via E-Mail:

http://www.rent-a-tutor.com/tools

Best Regards

Marian

--
Internet-Dienstleistungen - von der Webseite bis zum Online-Shop
http://www.heddesheimer.de mailto:ma****@heddesheimer.de
Jul 17 '05 #5

P: n/a
50***@web.de (Olumide) wrote in message news:<c8**************************@posting.google. com>...
I have a form on my webpage. I would like visitors to complete this
form and click a send button that generates an email. How can this be
done? With Javascript of PHP? In either case, please send me pointers
to where I can find more information. (I am an utter PHP noob.)

Thanks,

- Olumide


The server program cgiemail may do what you want. The user fills out
an html form, the form data get posted to the server, cgiemail gets
invoked, cgiemail uses a template to generate an email, and cgiemail
sends the email to whoever is specified in the template.

For more details on cgiemail, see:

http://web.mit.edu/wwwdev/cgiemail/

There are other free email form servers that you can use and that you
do not have to install. Some are mentioned in ths group, but I
couldn't come up with an accurate google search.

Robert
Jul 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.