Thread: Creating a simple form for my website

  1. #1
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765

    Creating a simple form for my website

    I was visiting http://www.HtmlGoodies.com and a few other sites setting up a similar, simple little form offline before I threw it up onto my website. It sends the email fine and dandy. However, it floods the user with warning messages and makes receiving and reading the email on my behalf a long and annoying process.

    What I need to know, is how to simplify this process?
    I looked into some PHP material, and I'm not really sure if this is they way to go. I also don't know if it matters or not that I am going through a free host (brinkster).

    Basically, I want to allow the user to submit the form information with no hassle, and I want to be able to receive it on my end in a nicely formatted manner.

    Let me know of any tips!
    The world is waiting. I must leave you now.

  2. #2
    Banal internet user
    Join Date
    Aug 2002
    Posts
    1,380
    Your users are going to get warning messages when they submit the form because you are using direct mail redirection, which is a security hole which is why users are warned that the form data is being redirected...

    I can find a (or write a) small CGI or PERL script that will do what you need, then your form can use that; Does your webhost support CGI/PERL?

  3. #3
    Banal internet user
    Join Date
    Aug 2002
    Posts
    1,380
    Wait a minute... they tell you how to do all this stuff on the website!

    However I still ask, does your host support CGI/PERL?
    Last edited by BMJ; 10-02-2002 at 09:49 PM.

  4. #4
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    I am not sure really.

    http://www.brinkster.com is the host.
    I believe they may support SQL.

    If there are any options, I have uploaded the form I threw together quick.
    The world is waiting. I must leave you now.

  5. #5
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    Damn, it didn't attach for some reason.
    The world is waiting. I must leave you now.

  6. #6
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    i need a host that supports frontpage extensions thats free

  7. #7
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    Originally posted by Ride -or- Die
    i need a host that supports frontpage extensions thats free
    hypermart.net supports frontpage extensions / perl / domain hosting / email forwarding for your domain, all for free. They annoy you with pop up ads though. I use their paid service now.

    edit: the free option is hard to find, http://www.hypermart.net/t/registrat...ckageinfo#free
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  8. #8
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    Well, my research shows that doing what I want may not be possible with a free host.

    Basically I want a way for my visitors to interact with me, in some way. I would like it to look and seem more so professional whereas I'm not resorting to a guestbook, but I'm open to any suggestions. I have a skilled friend who is pretty good with the net/webpage concepts, and I've been checking in on his end to see of any suggestions he may have for me(if there are any).

    I would like for users to be able to use a form and email me information that way, but, I'm not sure if that's possible with a free host without drowning the user in error messages.

    I've been weighing out the possibilities and, I just don't know.
    This webpage pretty much says that what I'm looking to do, might not be possible.

    I have wrote the the code for the form already, but that won't work with simple html.
    I wouldn't mind so much using a guestbook if it has a nice scheme and had alot of configuration options with little ads or banners.
    I would also accept using a completely new host, which supports whichever way I might go with this, just for the interaction page. IE: I goto the host where my website is currently stored, copy & paste the code for one of my pages into the new hosts' HTML editor. I then lay out the form on that page. So, one of my website pages will be accessing a new site, but it will still have the same layout as all of the other pages at brinkster.

    Any suggestions?
    The world is waiting. I must leave you now.

  9. #9
    Registered User codingmaster's Avatar
    Join Date
    Sep 2002
    Posts
    309
    The best host for you is -> www.host.sk
    50 MB
    FTP
    MySQL
    PHP
    Email (SMTP,POP3,IMAP) -> HTTPS Login

    when you wanna write a php form script:

    All data, that you send with the form tag can be called
    by PHP as a local variable

    e.g.: you send form.php?text=xxx

    then you can call this:
    with $text
    or with $HTTP_POST_VARS['text']; when you use method="post"
    or with $HTTP_GET_VARS['text']; when you use method="get"

    Learn php for you and your page:

    When you wanna have some scripts or information send me an email or visit in ca. 2 month my website, cause it is not only.

    Or use my engine PHP-Force!!!

  10. #10
    Registered User codingmaster's Avatar
    Join Date
    Sep 2002
    Posts
    309
    www.brinkster.com supports ASP and MSQL (and FrontPage extensions!!!)
    Last edited by codingmaster; 10-03-2002 at 11:36 AM.

  11. #11
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    Thnx FYB

    edit:// can't use HM, no crdit card.
    Last edited by RoD; 10-03-2002 at 11:32 AM.

  12. #12
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    Well, I'm reading up on ASP tutorials as is now..
    I'm trying to find the simplest form and code for it.

    I have the information for my mail domain.

    MyMailServer.Domain.Com
    - This is through my ISP, it's what I use to send and receive messages. (the name is obviously a foo example)

    [email protected]

    With this information, I should be able to manage a simple Form with ASP, and Brinkster's MyDatabase.mdb support, right?

    I just want to make sure my venture into ASP isn't a lost cause.
    The world is waiting. I must leave you now.

  13. #13
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    Originally posted by Ride -or- Die
    edit:// can't use HM, no crdit card.
    I did it and they don't charge you. I forgot that they do ask for the card number though.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  14. #14
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    I just wanted to touch base - I found a solution.

    Problem solved!
    The world is waiting. I must leave you now.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Creating a Simple DLL in C
    By Ultima4701 in forum C Programming
    Replies: 2
    Last Post: 11-23-2002, 01:01 PM
  2. Creating a simple database: is my approach OK?
    By m712 in forum C++ Programming
    Replies: 1
    Last Post: 11-18-2002, 02:27 AM
  3. a website for simple c programs for beginners
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 02-06-2002, 09:38 PM
  4. creating a simple program to accept a password.
    By boy1015 in forum C++ Programming
    Replies: 11
    Last Post: 02-05-2002, 08:34 PM