|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming | |
[HTML] How to Make a Form on a website
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||||||
|
Intel Overclocker
|
I made this using freewebs.com
when it is filled out and submitted it will send me an email with the info limit is 25 submission per month on the free service i now have my own server anyone know how i can do this? ![]()
__________________
Club 0pera VIP Member Games That You Are Waiting For Solution ASUS P5K Overclocking Bug My BF2142 Stats
|
|||||||||||||
|
|
|
|
#2 (permalink) | |||||||||||||
|
Using more Linux everyday
Join Date: Jul 2007
Location: University of Virginia
Posts: 1,510
Rep: 167
![]() ![]() Unique Rep: 134
Trader Rating: 2
|
Why don't you just view the source code, and copy and paste it to your own website?
__________________
|
|||||||||||||
|
|
|
|
#3 (permalink) | |||||||||||||
|
IT Nut
Join Date: Jun 2007
Location: Waterbury Vermont
Posts: 4,545
Rep: 358
![]() ![]() ![]() ![]() Unique Rep: 274
Trader Rating: 13
|
It looks extremely basic, and easy.
Any free HTML site will have the syntax for any of those text box's, check box's, and added stuff to have it e-mail the info to you.
__________________
Tygon Tornado build pics; at post 23 / How to Cable manage your Thermal take Armor/E6400 3.6 ghz
|
|||||||||||||
|
|
|
|
#4 (permalink) | ||||||||||||||
|
Intel Overclocker
|
if i copy the source and paste it, it will still send my the info through freewebs.com
Quote:
could u plz tell me how to do this
__________________
Club 0pera VIP Member Games That You Are Waiting For Solution ASUS P5K Overclocking Bug My BF2142 Stats
|
||||||||||||||
|
|
|
|
#5 (permalink) | |||||||||||||
|
New to Overclock.net
|
The form it's self is very easy to replicate but the emailing part is a little trickier. To do it properly you need some sort of server side scripting like PHP, RoR, or ASP. This is much more advanced stuff. First is your website hosted from a webhosting provider or in-house. Pretty much all providers will have PHP running on them already. If its in-house then you may need to install one of them on your own. In which case let us know what kind of web server you are running and we can help ease the process.
__________________
|
|||||||||||||
|
|
|
|
|
#6 (permalink) | ||||||||||||||
|
PC Gamer
|
Quote:
Try Here
__________________
The Black Mesa Survivors Club Aoccdrnig to a rscheearch at an Elingsh uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht frist and lsat ltteer is at the rghit pclae. The rset can be a toatl mses and you can sitll raed it wouthit porbelm. Tihs is bcuseae we do not raed ervey lteter by itslef but the wrod as a wlohe.
|
||||||||||||||
|
|
|
|
|
#7 (permalink) | |||||||||||||
|
Folding Fanatic
|
Quote:
__________________
|
|||||||||||||
|
|
|
|
#8 (permalink) | |||||||||||||||
|
Intel Overclocker
|
wow cool repped
but still i cant get them to submit this form (see below) this submit button i is a mailto only (see below) FORM Quote:
SUBMIT Button Quote:
__________________
Club 0pera VIP Member Games That You Are Waiting For Solution ASUS P5K Overclocking Bug My BF2142 Stats
|
|||||||||||||||
|
|
|
|
#9 (permalink) | ||||||||||||
|
HMS Tactical
![]() ![]() |
Could you copy and paste the entire page for me please? Instead of [ quote ] tags could you use [ code ] instead?
|
||||||||||||
|
|
|
|
#10 (permalink) | |||||||||||||
|
PC Gamer
|
I can't see your image since I'm at work and I don't want to parse your spaghetti code, but I will help you understand forms a bit better so you can write your own.
A form is made up of a few tags in HTML. They can go anywhere in a page, but it is recommended to put one between <div> tags or <td> tags. You start a form like so: <form> you can extend it with parameters. You want to mail the post data from the form to someone. <form action="mailto:emailaddress" method="post"> enc/type isn't needed as it sends it as plain text anyway, unless you plan on using file attachments but that's beyond this brief tutorial. Now, you make input boxes. Here are some example boxes: <input type="text" size="10" /> Simple Text Box <input type="password" maxlength="10" /> password box <input type="checkbox" checked="checked" value="true" /> Checkbox <input type="radio" name="group" value="value" disabled="disabled" /> Radio button. Keep the group name the same for multiple buttons to limit selection to one. <input type="hidden" name="name" value="value" /> Hidden form element. Used in scripts for passing variables through forms. You can also use <textarea name="name"></textarea> You can set things with default values with value="" for a parameter, except textarea. You put the default text for that between the tags. Submit buttons that process the form are as follows: <input type="submit" value="Click me!!!" /> <input type="reset" value="Reset to default values" /> Then you end with </form> Hope I helped! http://www.w3schools.com/html/html_forms.asp Use that site for more help. E: one more thing I want to add. mailto uses the user's mail client on their computer to send the e-mail. If they don't have a default mail client (most computers do but you never know) then the form won't work for them. If you want a form independant of mail clients, see if your server has PHP support. It's very simple to send a form using PHP, so if you have PHP on your server I'd be glad to help whip up a small script for sending an e-mail.
__________________
I have four words for you... DEVELOPERS DEVELOPERS DEVELOPERS DEVELOPERS Five thousand, two hundred, and eighty points per day Next upgrades: 150 GB Raptor; 24" Monitor; 9800 GTX 4 SLI; Q6600; Auzentech Prelude; * Waiting on Sandy Bridge *
Last edited by NessTheHero : 07-09-08 at 03:03 PM. |
|||||||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|