HTML - Online Forms
Can someone please explain how forms work please.
I know how to set them up and send them to another file to be processed. How do i set up the file to process it? Example: My form: Quote: <form action="http://www.music-web.org/webmail2.php" method="post" name="webMailLogin"> <input type="hidden" name="submitted" value="y" /> <table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#FFFFFF"> <tr> <td colspan="2"><img src="http://music-web.org/images/clearpixel.gif" width="1" height="12"></td> </tr> <tr> <td class="black12" align="right"><b>Login: </b></td> <td class="QuickDomainCheck"><input type="text" tabIndex="1" name=" login_name " size="20" value=""></td> </tr> <tr> <td colspan="2"><img src="http://music-web.org/images/clearpixel.gif" width="1" height="12"></td> </tr> <tr> <td class="black12" align="right"><b>Password: </b></td> <td class="QuickDomainCheck"><input type="Password" tabIndex="2" name=" passwd " size="20" value=""> <input type="image" src="http://www.music-web.org/images/webmail/login.gif" align="absbottom" value=" Login " tabIndex="3" ></td> </tr> <tr> <td colspan="2" align="left"> <BR><BR><div class="text" style=" color:000000; font-family:arial; font-size:10px; padding-left:124; padding-top:5">Login using your email address and password.</div> </td> <td class="black10"><br><br></td> </tr> </table> </form> It gets sent to: Quote: <script language="JavaScript" TYPE="text/javascript"> function submitMe() { loginName = ' I need the value of the form in here '; //find @ atPos = loginName.indexOf("@"); //check >=1 if (atPos >= 1 ) { //get the domain name length domainLength = (loginName.length +1) //get the domain name domain = loginName.substring(atPos +1, domainLength ); //get the username user = loginName.substring(0,atPos); //set up the username to post to the mail form document.implogin.loginuser.value = loginName; document.implogin.imapuser.value = user; document.implogin.pass.value = 'I need the value of the form in here '; document.implogin.maildomain.value = domain ; document.implogin.maildomain.realm = domain; document.implogin.url.value = 'http://webmail.'+ domain + '/horde/login.php';document.implogin.action = 'http://webmail.'+ domain + '/horde/OWH_Logout.php'; document.implogin.submit(); } else { alert('Please enter in your full email ie. someone@yourdomain.com'); } } </script> I hope this isn't too confusing and someone can help. Similar TutorialsI want to add an interactive form to a charity site I maintain. I used Zisp in the past, but we changed our Webspace provider recently and Zisp won't work there, (It's pretty limited anyway). I'm pretty good with HTML/CSS but I don't have a clue about PHP, CGI, Java etc. Can anyone suggest where I might start looking? (Being a charity, we don't have too much money to spend). I am a beginner! (I thought I would warn you.) Can someone here please tell me how to do the code for being able to see how many viewers are online at a particular site. For instance so all shoppers can see how many people are shopping in that store at the same time? I hope that makes sense. Many thanks in advance!! A client needs to edit one page of their site remotely using a browser. I'm not sure how to proceed. Do they need a page with form fields that are password protected so only they can provide content? Is there another way to edit wysiwyg text online without using a separate application? Any help would be appreciated. Ok so I am trying to create an online registry where people with rare diseases can register their name what disease they have where they live and it will email them of those around them with the same thing. Can someone please tell me how to do this or where i can go to learn how to do this. Thanks I'm creating a RPG, using Unity 3d game engine, the game is called Venturo Online, the project was started on the 20th Jan, we have setup the site we are going to be using, we need some html help with the site, can anyone offer their help? Please leave your details below, or email : community@venturoonline.com, thanks. Hello everyone, I want to know how to put the html code into my web of an television channel. Example: abc tv online. Greetings! I'm helping a friend who has set up a website to market ebooks. The page is fine, we have a Paypal account to receive payments but what I don't know how to do is automatically allow the purchaser access to the book once payment has been made. The easier way is email it after confirmation of the payment but there must be an automatic way of doing this? Any help would be appreciated. hi guys i have this requirement where in the client redirects a html page to my site and i have to provide him an interface from my site to edit the html ( which can be done using FCKeditor or Tinymce) after authentication and then when he presses save Ill have to save the html back to his server this is where i have some confusions, inorder to save back on his server do i need his ftp login credentials or is there any other way to circumvent it, pls let me know thx in advance I have this website that i run for a person selling select products. Everything is going fine, but it would really help if i could make an adminstrator's page for the client, that would let them input a picture, name, description, price and have that posted to the product listing page. Ive seen some related posts in different places that mentioned use of php and mysql, but i havent found the right combo for what im looking for. If someone could help me out, it would be very appreciated. hiya,i have a msn group and it doesn't support java scripts i searched on google tried a lot of webcounters but they are all with java .. is it possible to have an users counter without any java ?? just simple html.Thanks in advance ! *love - Elise I have a client that would like to have an online registration setup on his website. It is a fitness website in which he would like the client to enter some basic information and pay online for the classes. I have a basic knowledge of HTML so if someone could lead me in the right direction it would be greatly appreciated. Thanks in advance. Hey, I'm wanting to know how to place videos on a webpage that are personal to the website, in other words.. not a YouTube video. Like this for instance: http://www.stomperblog.com/darrin-mi...al-case-study/ How can i set up a video like this on a website? Do i need a certain program? Thanks! Hi! I bought my domain yesterday, and uploaded my site to it. It all looks fine, except some pictures that weirdly enough won't show up. I haven't tested the site, or anything yet, but if someone please could tell me, why the pictures isnt shown online, then i would be happy. My website is http://urnemanden.com i hope you can help me fix it! hey, ive designed a website using html/css and I need to put a questionnaire/survey on it. I've been searching the web for how to do this but I've found no decent resources. does anybody know how to do this or where the best place to find out how is? any help would be much appreciated many thanks stuart Hey guys I am after an online html editor So lets say I have a simple html site I put the editor into an admin folder ( password protect it ) so when i go to the editor I can make changes to the html pages - add images etc. Does anything like this exist? preferably free ware on open source cheers Anything (code) I can place on a website that will show my online status without having to edit the page every time? So when I want to be shown it updates by itself ? hello; PROBLEM 1 - if I create an product inventory database and have catalog_page_template.php dynamically output webpages with the applicable product content ( product photo, cost, s&h, weight, etc ), search engines will not be able to store the catalog webpages, since they do not exist except when called by browser; any suggestions on the best way to build an online catalog? thanks dsdsdsdsd I'm building a website to sell online and I want my product page to work in the same way as this one: http://www.cougar-extreme.co.uk/comp...ries_ddr3.html I can see that they are using javascript there, but I want to ask if that is the best or only way to do that. Mainly, can anyone can point me in the direction of how to do it? I am using a flash intro for the site, so I can assume most people on the site viewing it properly will have flash installed. I have a pretty good grasp of HTML and CSS, but very little experience doing anything similar to this and I'd appreciate any help or advice given. Thanks! kadeshiseraph Can someone help me build a basic site for our school (k-12) kids to use to learn from their teachers. I liked the concept of the website coursera.org. I've attached the files that i download. We want to offer the service free to children in the neighborhood that dont get to go to school at all. I would appreciate it if someone can help me clean up this code and add comments to it so that I can update it with my basic HTML knowledge. Please take a look and advise. It is intended to be FREE ONLY, not for commercial use. thanks Navs |