I'm new with ASP, so I would love to get some help here.

Reply

Join Date: Oct 2006
Posts: 14
Reputation: Andy-Pandy is an unknown quantity at this point 
Solved Threads: 0
Andy-Pandy Andy-Pandy is offline Offline
Newbie Poster

I'm new with ASP, so I would love to get some help here.

 
0
  #1
Dec 7th, 2006
Hello.
I want to make forms in ASP (login and contact forms)

Let's start with the contact page: (where the form is)
(is this right, and am I gonna call it for example; contact.html or contact.asp?

  1. <html>
  2. <head>
  3. <title>Hope you can help me...</title>
  4. </head>
  5.  
  6. <body>
  7. <form action="thanks.asp">
  8. Name: <input type="text">
  9. E-Mail: <input type="text">
  10. <input type="submit" value="Submit">
  11. </form>
  12. </body>
  13. </html>

And what I wonder now, is what am I gonna have in the thanks.asp file. Anyone who knows?

And if you don't mind, can you help me with a login form too?




And a final question.
- Do I need anything to make ASP? (If I do, where can I get it)






Anders
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 4
Reputation: kudosvisions is an unknown quantity at this point 
Solved Threads: 0
kudosvisions kudosvisions is offline Offline
Newbie Poster

Re: I'm new with ASP, so I would love to get some help here.

 
0
  #2
Dec 20th, 2006
HI Anders.

To run ASP you need IIS4, IIS5, IIS6 or .NOT framework. IIS comes with MIcrosoft windows 200 and XP pro etc...

Here is some code to show some basic data capture, simple copy and paste into an .asp page

  1. <%
  2. ' check to see if the form has been submitted
  3. if len(request.form("go")) then
  4. ' write out results
  5. response.write "<p>You submitted the following details</p>"
  6. response.write request.form("name") & "<br/>"
  7.  
  8. response.write request.form("email")
  9.  
  10.  
  11. end if
  12. %>
  13. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[url]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/url]">
  14. <html xmlns="[url]http://www.w3.org/1999/xhtml[/url]">
  15. <head>
  16. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  17. <title>Untitled Document</title>
  18. </head>
  19. <body>
  20. <form id="form1" name="form1" method="post" action="">
  21. <input type="hidden" name="go" value="yes" />
  22. <label>name
  23. <input type="text" name="name" />
  24. </label>
  25. <p>
  26. <label>email
  27. <input type="text" name="email" />
  28. </label>
  29. </p>
  30. <p>
  31. <label>
  32. <input type="submit" name="Submit" value="Submit" />
  33. </label>
  34. </p>
  35. </form>
  36. </body>
  37. </html>
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 4
Reputation: kudosvisions is an unknown quantity at this point 
Solved Threads: 0
kudosvisions kudosvisions is offline Offline
Newbie Poster

Re: I'm new with ASP, so I would love to get some help here.

 
0
  #3
Dec 20th, 2006
apologies for my last quote, Didnt come out as I intended

HI Anders.

To run ASP you need IIS4, IIS5, IIS6 or .NET framework. IIS comes with Microsoft windows 2000 and XP pro etc...

Here is some code to show some basic data capture, simple copy and paste into your .asp page and run it

  1. <%
  2. ' check to see if the form has been submitted
  3. if len(request.form("go")) then
  4. ' write out results
  5. response.write "<p>You submitted the following details</p>"
  6. response.write request.form("name") & "<br/>"
  7.  
  8. response.write request.form("email")
  9.  
  10.  
  11. end if
  12. %>
  13. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[url]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/url]">
  14. <html xmlns="[url]http://www.w3.org/1999/xhtml[/url]">
  15. <head>
  16. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  17. <title>Untitled Document</title>
  18. </head>
  19. <body>
  20. <form id="form1" name="form1" method="post" action="">
  21. <input type="hidden" name="go" value="yes" />
  22. <label>name
  23. <input type="text" name="name" />
  24. </label>
  25. <p>
  26. <label>email
  27. <input type="text" name="email" />
  28. </label>
  29. </p>
  30. <p>
  31. <label>
  32. <input type="submit" name="Submit" value="Submit" />
  33. </label>
  34. </p>
  35. </form>
  36. </body>
  37. </html>
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC