ASP Forms!

Networking/Security Forums -> Programming and More

Author: Chozen1Location: NW, UK PostPosted: Tue Jun 18, 2002 1:03 pm    Post subject: ASP Forms!
    ----
Hi All,

I have created a new website using ASP.

In my old site I have a Sales and Support form using CGI/PERL Formmail Script.

Any body tell me how to make a ASP Form, I am currently devceloping the site on my IIS but the site will be hosted properly after development.

THank you all

JB.
Chozen1

Author: chrisLocation: ~/security-forums PostPosted: Tue Jun 18, 2002 1:39 pm    Post subject:
    ----
Code:

Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.From = cStr(Request("textFrom"))
objCDO.To = "address@to-appear-from.com"
objCDO.Subject = "Feedback from Website"
objCDO.Body = Chr(13) & Chr(10) & "Name: " & cStr(Request("textName")) & Chr(13) & Chr(10)_
& "Phone: " & cStr(Request("textPhone")) & Chr(13) & Chr(10)_
& "IP Address: " & cStr(Request("ipaddress")) & Chr(13) & Chr(10)_
& "Feedback: " & cStr(Request("textBody"))
IF (CStr(Request("Submit")) <> "") THEN
objCDO.Send
Set objCDO = Nothing
Response.Redirect("submit_success.asp")
End If


Author: Chozen1Location: NW, UK PostPosted: Mon Jun 24, 2002 11:12 am    Post subject: ASP Forms - CDONTS
    ----
Hi all,

I implemented an ASP form using the CDONTS feature and it works great on my localhost. When I finally upload the site to the hosting ISP will it use their CDONTS as it did mine, what if the host uses a different architecture, do they need to host usinf Win2K, if so what other ASP form alternatives could I use ?

Thank you

Chozen1.

Author: ToddKLocation: Ottawa, Canada PostPosted: Sat Nov 30, 2002 10:18 am    Post subject:
    ----
Hi Chosen. Better late then never I guess.....

ASP is usually run from IIS, which will only run on windows. You can buy a program called Chilisoft, which will allow you to run ASP on Unix servers. It is a bit pricey, though.



Networking/Security Forums -> Programming and More


output generated using printer-friendly topic mod, All times are GMT + 2 Hours

Page 1 of 1

Powered by phpBB 2.0.x © 2001 phpBB Group