• RSS
  • Twitter
  • FaceBook

Security Forums

Log in

FAQ | Search | Usergroups | Profile | Register | RSS | Posting Guidelines | Recent Posts

ASP Forms!

Users browsing this topic:0 Security Fans, 0 Stealth Security Fans
Registered Security Fans: None
Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Programming and More

View previous topic :: View next topic  
Author Message
Chozen1
Just Arrived
Just Arrived


Joined: 21 Apr 2002
Posts: 0
Location: NW, UK

Offline

PostPosted: Tue Jun 18, 2002 1:03 pm    Post subject: ASP Forms! Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
chris
Forum Fanatic
Forum Fanatic


Joined: 18 Apr 2002
Posts: 16777201
Location: ~/security-forums

Offline

PostPosted: Tue Jun 18, 2002 1:39 pm    Post subject: Reply with quote

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

Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Chozen1
Just Arrived
Just Arrived


Joined: 21 Apr 2002
Posts: 0
Location: NW, UK

Offline

PostPosted: Mon Jun 24, 2002 11:12 am    Post subject: ASP Forms - CDONTS Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
ToddK
Just Arrived
Just Arrived


Joined: 29 Nov 2002
Posts: 0
Location: Ottawa, Canada

Offline

PostPosted: Sat Nov 30, 2002 10:18 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   

Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Programming and More All times are GMT + 2 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Area

Log in | Register