General discussion

Locked

Creating Feedback Page with ASP

By dmittri2000 ·
My name is Orjinta Chidubem, I am an application developer that resides in Nigeria. Please help me out.

i am developing a personal web site whereby visitors to my site will send a feed back to my email box. I am developing the web application with Dreamweaver 4. It has feedback (.html) page that contains a form that the user can enter his/her name, email address and comments -this feedback page redirects to an asp page and an asp page that contains the code that sends the information enteredby the user to my email box and displays. " 'User', your message has been sent". But this does not work.It ask me whether i want to download the asp file to my computer.I don't know whether Dreamweaver Supports ASP pages. Please Tell how i will overcome this.

The code in the asp page is shown below:

<%@ Language="VBScript" %>
<html>
<head>
<title>Feedback Information</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#336699" text="#000000">
<%
dim str(3)
dim I
dim myMail


dim strgetTime
set params=request.QueryString
I=1
for each pValue in params
str(I)=params(pValue)
I=I+1
next
strgetTime = FormatDateTime(Now(),vbLongDate)

Set myMail = Server.CreateObject("CDONTS.NewMail")
myMail.To = "dmittri2000@yahoo.com"
myMail.From = str(2)
myMail.Subject = "This is what i have to say " & strgettime
Body = "Mail From:" & str(1)
Body = Body & str(2)
myMail.Body = Body
myMail.Send
Set myMail =nothing

response.Write("<center><h2>" & str(1) & "<h2><center>")

%>

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Creating Feedback Page with ASP

by nikki96 In reply to Creating Feedback Page wi ...

Only computers with IIS (internet information server) and maybe PWS (personal web server) may run ASP pages. Dreamweaver can create them, but it doesn't know how to parse them. Upload them to a proper web server and test.

Collapse -

Creating Feedback Page with ASP

by nikki96 In reply to Creating Feedback Page wi ...

IIS doesn't work on XP Home. it is professional only. Just FYI. You can hack Home to do it, though.

http://www.ipwebdesign.net/kaelisSpace/useful_iisOnXp.html
(remove spaces from pasted url)

Collapse -

Creating Feedback Page with ASP

by carquiza In reply to Creating Feedback Page wi ...

Just an add up . . .

Here is how to install IIS 5.0?

http://support.asna.com/kb/documentation/Help_Files/Web_Smarties_35/webtutfp_how_do_i_install_iis_5_0_.htm

Back to Web Development Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums