473,407 Members | 2,315 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,407 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 23 '05 #1
5 1472
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 23 '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 23 '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 23 '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 23 '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 23 '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...
17
by: flupke | last post by:
Hi, i create my GUIs mainly via wxGlade. However when you start of to program and want to do some rearranging to the gui, wxglade overwrites your file and you've got to put your own code back...
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
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.