
-----------------------------------
Linux
Sat Apr 09, 2005 6:55 pm

registration forms
-----------------------------------
i have read some of the posts for forms, but i would like to kno how exactly i would make a form that i could use on my website, i have a good idea how to make a form, now how would i make it send its self to my email address? i dont want to use mailto: i want the forms to be sent to me to my email on the server. 

would i have to make a cgi script?

how would i make a cgi script and can someone show me a script for this kind of thing and how it works, or maby write a tutorial for making cgi scripts. 

thank you

-----------------------------------
Blade
Sun Apr 10, 2005 10:24 am


-----------------------------------
you can use php for that too.. uhm, i'll make an example form you can use just to send your name to your email address, you can add more onto it later if you want to.. a good reference for form elements is 
Name:


but, remember, the server you use must have sendmail installed for php to be able to send emails.
//handler.php
mail("youremail@emails.com", "Your Subject", "Hi, you entered\n" . $_POST
I can't explain too much right now, but i'll post a much more detailed form and form handler with comments later.

-----------------------------------
Blade
Sun Apr 10, 2005 11:40 am


-----------------------------------
Okay, well i got that file.. 





 
  Some Text:
   
  Select Example:
   
    yahoo 
    Google
    AltaVista
  
  
  Radio Button Example:
  Hotmail 
  Yahoo
  Gmail
  Textarea Example:
  
  
  
  



I dont know how much you know about programming, but i try to explain most of whats going on. if you dont understand, maybe you should start with the basics

