Business Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementBusiness Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 7th, 2004, 08:52 AM
kenshinkid318 kenshinkid318 is offline
hitokiri battousai
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 38 kenshinkid318 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
contact form

how would I go about creating some sort of contact page on my website instead of having people using my email address directly?

Reply With Quote
  #2  
Old July 7th, 2004, 10:52 AM
bombaywala bombaywala is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: Arlington, VA
Posts: 191 bombaywala User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 24 m 37 sec
Reputation Power: 5
Send a message via AIM to bombaywala Send a message via MSN to bombaywala Send a message via Yahoo to bombaywala
And why is this post on Business section? Anyway - creating some sort of contact page - that is very vague. What are you using, plain HTML on unix server? .NET on IIS? Coldfusion? J2EE? What exactly are you using?

Reply With Quote
  #3  
Old July 7th, 2004, 11:28 AM
medialint's Avatar
medialint medialint is offline
Type Cast Exception
Click here for more information.
 
Join Date: Apr 2004
Location: West of Oakland, North of San Jose, South of Marin
Posts: 12,536 medialint User rank is General 26th Grade (Above 100000 Reputation Level)medialint User rank is General 26th Grade (Above 100000 Reputation Level)medialint User rank is General 26th Grade (Above 100000 Reputation Level)medialint User rank is General 26th Grade (Above 100000 Reputation Level)medialint User rank is General 26th Grade (Above 100000 Reputation Level)medialint User rank is General 26th Grade (Above 100000 Reputation Level)medialint User rank is General 26th Grade (Above 100000 Reputation Level)medialint User rank is General 26th Grade (Above 100000 Reputation Level)medialint User rank is General 26th Grade (Above 100000 Reputation Level)medialint User rank is General 26th Grade (Above 100000 Reputation Level)medialint User rank is General 26th Grade (Above 100000 Reputation Level)medialint User rank is General 26th Grade (Above 100000 Reputation Level)medialint User rank is General 26th Grade (Above 100000 Reputation Level)medialint User rank is General 26th Grade (Above 100000 Reputation Level)medialint User rank is General 26th Grade (Above 100000 Reputation Level)medialint User rank is General 26th Grade (Above 100000 Reputation Level)  Folding Points: 237154 Folding Title: Super Ultimate Folder - Level 1Folding Points: 237154 Folding Title: Super Ultimate Folder - Level 1Folding Points: 237154 Folding Title: Super Ultimate Folder - Level 1Folding Points: 237154 Folding Title: Super Ultimate Folder - Level 1Folding Points: 237154 Folding Title: Super Ultimate Folder - Level 1Folding Points: 237154 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 4 Months 3 Weeks 3 Days 5 h 55 m 53 sec
Reputation Power: 2710
I don't know how you would go about it. I'd write a Perl script, it would take about five minutes, and I'd be done with it.

You can Google for Perl you can Google for PHP but either way there's probably only a few million examples to be found.

Reply With Quote
  #4  
Old July 8th, 2004, 12:53 PM
WebSupport WebSupport is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 20 WebSupport User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
If you have asp and Cdonts support, you can just use the script below. Copy and paste and change the email to your own and change the redirect URL. I'm assuming that you can create your html form with the method = post and action = to the script file name (mines is send_email.asp). If you have any problems with it, let me know.

send_email.asp file starts here
----------------------------------------------------
<%
Option Explicit

Dim objNewMail, userName, userEmail, userComment

userName = Request.Form("userName")
userEmail = Request.Form("userEmail")
userComment = Request.Form("userComment")

' First create an instance of NewMail Object
Set objNewMail = Server.CreateObject("CDONTS.NewMail")

' For objNewMail.From, you can use the one received from
' the form, userEmail, but if the user types in an invalid email
' you will not receive the email.
' So I just placed the user email in the subject of
' the email. Of course you could do a
' validation check but this is the simple way

objNewMail.From = "your_userid@your_domain.com"
objNewMail.To = "your_userid@your_domain.com"

objNewMail.Subject = "Any subject title you want"
objNewMail.Body = "Name: " & userName & " *** Email: " & userEmail & " *** Comments: " & userComment
objNewMail.Send

' After the Send method, the NewMail Object become Invalid
' You should set it to nothing to relase the memory

Set objNewMail = Nothing

' If you want to send another mail
' you have to create a new instance of NewMail Object again.

Response.Redirect "http://www.some-confirmation-page-or-any-other-page.html"
%>

--- end of script

Reply With Quote
  #5  
Old July 8th, 2004, 12:54 PM
WebSupport WebSupport is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 20 WebSupport User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ASP and CDonts are much simpler than Perl and CGI.

Reply With Quote
  #6  
Old July 20th, 2004, 06:51 PM
tony84 tony84 is offline
tony
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2004
Location: manchester uk
Posts: 670 tony84 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 13 h 11 m 38 sec
Reputation Power: 5
Send a message via AIM to tony84 Send a message via MSN to tony84
if your server doesnt accept asp then id try hotscripts.com they will have a ready made script where you just have to make 1 or 2 changes, or if you send me a PM ill send you the files needed to create 1 like on my site
__________________
Free Forum hosting for clans

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementBusiness Help > contact form


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway