473,387 Members | 1,619 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Generating email from Form Input

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
5 1675
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Olumide | last post by:
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...
6
by: Vanitha | last post by:
Hi All, I am developing a Web based application for an embedded target, using BOA webserver. I need to return some values to the HTML client. I am using CGI-C to extract the values sent by...
2
by: -=Chris=- | last post by:
I'm developing a custom server control that will be rendering a form based on some input. I've tried creating custom validators in vb.net like so: Dim v1 as RequiredValidator = new...
7
by: Venus | last post by:
Hello, I am trying to generate a dynamic form at runtime and would like to do it using "<asp: ..." form elements as follows Build up the string that is placed somewhere in the HTML code the...
3
by: Mike the Canadian | last post by:
Given the code below how can I get the totals to update when the form loads not just when a cell is changed? I tried a call to updateColumn(el) in initTable but this gives a "cell has no value"...
13
by: vasudevmukherjee | last post by:
Hi! Can somebody help tell me why the following code gives a garbage value while producing first student's name, whereas it gives the names correctly for other three students - I really fail to...
2
by: alex.mcshane | last post by:
Hi - I would be grateful for advice regarding the following. Via SPUFI, I am using an SQL member to generate further SQL Statements. Unfortunately, the generating output SQL statements are...
9
by: WebCM | last post by:
I need a solution for CMS. I would like to edit and create FORMS easily, especially list of settings. Which is better and why? $$ XML or HTML $$ Forms occur in View layer - in presentation file....
1
nine72
by: nine72 | last post by:
Ok, I am at a complete loss on this and have finally come to the XML Parsing Gods (and perhaps a PHP minor deity) for guidance… I will try my best to describe what I have going on… 1) I have 15...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.