Making an online App with HTML. Help please.
Making an online App with HTML. Help please.
Ok. I was just made co leader or the clan I am in for Return to Castle Wolfenstein, and I am also web master. I need to make an online app for our site. What I would like it to do is have you fill out info. Like it will say name: and below it will be a text box and there will be a lot of these with different questions. Then at the bottom you will press a button submit and it will email the info to me. how can i make one of these in html?
Re:Making an online App with HTML. Help please.
It might be possible with javascript... but the problem with that is that your form would ONLY work if javascript was enabled(I myself have it disabled for security reasons).
I would suggest using PHP and html mixed to make it:
Just replace all the info with your info. And put the html for the form where the "// Form here" text is. All you need to do is send the form to the same page, but with an action set.
For instance your_page.php?action=send_form would work.
I would suggest using PHP and html mixed to make it:
Code: Select all
<?php
$action = (isset($_GET['action']))?$_GET['action']:'';
if ($action == '') {
// Form here
}
else {
???$headers = 'MIME-Version: 1.0'."\r\n";
???$headers .= 'Content-type: text/html; charset='.$txt[12]."\r\n";
???$headers .= 'From: your_email@your_site.com <your_email@your_site.com>'."\r\n";
???mail('your_email@your_site.com','subject_here','message_here',$headers);
}
?>
For instance your_page.php?action=send_form would work.
Re:Making an online App with HTML. Help please.
chris im pretty stupid when it comes to html. although i changed the template on the message board for my site. can you please be more specific? i copied and pasted that to a txt file and saved it as app.html and when i opened it it said code:
i dont know what to put in there. here. this is the form on our site now. we cant keep this one and the guy that did it before doesnt remember how he did it. could you please give me the code to make one like this if it isnt a big deal? i have to scratch this one and make my own. http://flatspliffy.tripod.com then go to join us section
i dont know what to put in there. here. this is the form on our site now. we cant keep this one and the guy that did it before doesnt remember how he did it. could you please give me the code to make one like this if it isnt a big deal? i have to scratch this one and make my own. http://flatspliffy.tripod.com then go to join us section
Re:Making an online App with HTML. Help please.
1) you don't save it as a .html file, you save it as a .php file.
2) I didn't give you everything that was needed... just a place to start from.
2) I didn't give you everything that was needed... just a place to start from.
Re:Making an online App with HTML. Help please.
i dont know if my site can support php. ::) i will try that though. thanks chris.
Re:Making an online App with HTML. Help please.
hold on. i can use the source from the old app, BUT, i need to just have it email me. at the top of the source it says
<FORM action=http://pub8.bravenet.com/emailfwd/senddata.php method=post>
the previous user had it check or something on that site. can i just change it to just email me all the info? and how? i tried putting my email address instead of the url, but it didnt work. i got a 404 authorization error or something. is there a way i can just have it email me that info the user typed in. maybe using the action command or something else. it doesnt matter.
<FORM action=http://pub8.bravenet.com/emailfwd/senddata.php method=post>
the previous user had it check or something on that site. can i just change it to just email me all the info? and how? i tried putting my email address instead of the url, but it didnt work. i got a 404 authorization error or something. is there a way i can just have it email me that info the user typed in. maybe using the action command or something else. it doesnt matter.
Re:Making an online App with HTML. Help please.
Copy/paste: http://www.lissaexplains.com/html4.shtml#form
Detailed information: http://www.dtp-aus.com/forms.htm
Detailed information: http://www.dtp-aus.com/forms.htm
Re:Making an online App with HTML. Help please.
Hey, that Long Answer-thing from that site's just what I need to make a rant-section with comment-possibility on my site. Dumb thing is that she didn't put the code for a submit-button there ::)
Edit: woops, she did.
Edit: woops, she did.
Re:Making an online App with HTML. Help please.
ok i used that lissa one, and its not working. i see the form and stuff. but when i hit submit, then check my email, i didnt get it. heres my code. please tell me what i am missing.
[attachment deleted by admin]
[attachment deleted by admin]
Re:Making an online App with HTML. Help please.
There's nothing wrong with your code: I replaced your e-mail adress with mine and it worked.
Lissa does state that:
Lissa does state that:
Maybe that's the problem here?Email forms are fairly easy to make. Some browsers do not support them though (AOL's browser for example).
Re:Making an online App with HTML. Help please.
I have IE6. I have no idea what the problem is. I am going to try the other site. If anyone knows why this isnt working, please let me know! ;D