/    Sign up×
Community /Pin to ProfileBookmark

i would like to know about online forms. im creating a website which would allow visitors and fill in certain information about themselves. i will then take that info provided(voluntary of course) and post it online. what type of script or program would i need for that and where can i get it? im pretty new at this stuff but if anyone knows it woild be a big help. thanks, Aastro

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@crh3675Jun 15.2004 — You have several options. You can have the form results emailed to yourself by specifying:

<form action="mailto:[email protected]" method="post">

OR

You can use a server-side language and mail parser to process the mail server side.

PHP:

<?php

mail("[email protected]","Subject","body text","From:[email protected]");

?>

ASP (CDONTS) :

<%

Dim mail

Set mail=Server.CreateObject("CDONTS.NewMail")

mail.From="[email protected]"

mail.To="[email protected]"

mail.Body="body text"

mail.Subject="subject"

mail.Send

Set mail=Nothing

%>

ASP: (CDO)

<%

Set objMessage = CreateObject("CDO.Message")

objMessage.Subject = "subject"

objMessage.Sender = "[email protected]"

objMessage.To = "[email protected]"

objMessage.TextBody = "This is some sample message text."


objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2

objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "mail server"

objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25

objMessage.Configuration.Fields.Update

objMessage.Send

%>
Copy linkTweet thisAlerts:
@BradKAug 24.2004 — I just found this thread and would like to create a form

using Dreamweaver as the editor. But I have no experience with

scripting.

So,

Where do I insert this script? (what are the steps if there are any)

and how do I determine which script to use.

Thank you very much for any help,

Brad
×

Success!

Help @aastro1285 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...