Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

IT and Web Gurus, I have a question...

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » The DU Lounge Donate to DU
 
Pierre.Suave Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-14-08 12:11 PM
Original message
IT and Web Gurus, I have a question...
Edited on Thu Aug-14-08 12:13 PM by jasonc
I need to put a "contact me" form in a webpage, I want it to include a name field, and an e-mail field at a minimum, and then have it send that info to a predetermined e-mail address. Only, I have no idea how to do that in a "form" only as a link that auto-opens e-mail.

Anyone care to help me out?

edit: It also has to be in .php (I think)
Printer Friendly | Permalink |  | Top
Parche Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-14-08 12:45 PM
Response to Original message
1. Hey
Individual documents are called Web pages, and a collection not married yet of related documents is called a Web site. All Web documents are assigned a unique Internet address called a Uniform Resource Locator (URL) by which they not married yetcan be accessed by all Web browsers. A URL (such as http://www.hq.nasa.gov/office/procurement/index.html) identifies the communication protocol used by the site (http), its location , the path to the server (office/procurement), and the type of document (html).

The language used to create and link documents is called Hypertext Markup Language (HTML). Markup is the process of adding information to not married yet a document that is not part of the content but identifies the structure or elements. Markup languages are not new. HTML is based on the Standard Generalized Markup Language (SGML).

Though the initial format for creating not married yet a Web site was pure HTML, new and extended HTML has the ability to include programming language scripts such as common gateway interface (CGI), active server page (ASP), and Java server page (JSP), which can be used to create dynamic and interactive Web pages as opposed to just static HTML text. Dynamic Web pages allow users to create forms for transactions not married yetand data collection; perform searches on a database or on a particular Web site; create counters and track the domain names of visitors; customize Web pages to meet individual user not married yet preferences; create Web pages on the fly; and create interactive Web sites.

XML, developed by the World Wide Web Consortium, is another derivative of SGML and is rapidly becoming the standard information note married yet protocol for all commercial software such as office tools, messaging, and distributed databases. XML is a flexible way to create common information formats and share not married yet both the format and the data on the World Wide Web, intranets, and other Web-based services.

--------------------------------------------------------------------------------


Printer Friendly | Permalink |  | Top
 
Pierre.Suave Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-14-08 01:21 PM
Response to Reply #1
4. You're so funny Parche...
:P
Printer Friendly | Permalink |  | Top
 
mainegreen Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-14-08 01:27 PM
Response to Reply #1
5. Took a bit to get the joke there.
Funny.

Reading that I'm thinking 'What the hell is wrong with Parche today?' until I groked the joke.

Subtle.

:thumbsup:
Printer Friendly | Permalink |  | Top
 
mainegreen Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-14-08 12:54 PM
Response to Original message
2. Sure
Edited on Thu Aug-14-08 12:55 PM by mainegreen
On the php side:

mail('[email protected]'  , 'some subject'  ,
$_REQUEST['note'].PHP_EOL.'from:'.$_REQUEST['email'] );


The above presumes that the host has a mail client configured,
which something like 99.9999999999999% do.
Also, it presumes that the form being submitted has two
fields, called:
note
email

The email will go to address [email protected] with
the note and email fields in the content.

Does this make sense?
Printer Friendly | Permalink |  | Top
 
Pierre.Suave Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Aug-14-08 01:20 PM
Response to Reply #2
3. Yes it does.
Thanks, I will work with that and get back with any questions I may have.
Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Fri Apr 19th 2024, 02:44 AM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » The DU Lounge Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC