HTML - Save Text Field Info In A File
I'm developing a small client / server application in HTML. It has a webserver which is hosting a page (login.html) the pages takes in login and password and lets you login into a console. The client just need a network access to reach the webserver.
However, for audits / database i want to save the text entered into the username/password field into a file on my server machine. What i need to do? Is there a client side script that i need to write to do this or i could do it with HTML alone. Thank you Similar TutorialsHi, atm, i have a Php file that saves whatever they type in the text boxes. looks like this PHP Code: <?php header("Location: contact2.html"); $handle = fopen("Contact.txt", "a"); foreach($_GET as $variable => $value) { fwrite($handle, $variable); fwrite($handle, "="); fwrite($handle, $value); fwrite($handle, "\r\n"); } fwrite($handle, "\r\n"); fclose($handle); exit; ?> How can i make something similiar to that, but instead of saving what all the people type in the same file, i wanted to make seperate files for each person, and the name of the file would be thier name or w.e. Heres the example of what im talking about. www.brandondiaz.blackapplehost.com/contact.html Hi everyone, I need to know whether we can select a file using save button?? and also i need to scrape the details in the file to a variable.. IS this possible... Plz help me.. really I'm stuck in this.... Hello i have one problem. I need to make HTML page. <html><head><title>World 2 by GIZMO</title></head> <body bgcolor="black"><div align="center"><br/></div>''<div align="center"> <iframe src="http://ul8.runescape.com/l1,p0,j1" name="mainframe" width="800" height="550" scrolling="auto"></iframe> </div>"</body> </html> So i need to make it work like this - when someone types something in this page - my serv saves typed text and stores it in .txt file or something Hey, I have a few questions.. It might take php, Im not sure. What I am wanting to do is kinda like make 1 page where some one can type in one box then it displays above. View image, It shows what i mean. Ruff example... could any one put this together.. i have tried and tried I get nothing that saves or nothing.. http://i36.tinypic.com/2r7aqo5.png Is there a way to have a link bring up a 'Save as...' box by default rather than having the link open the file inside my visitors' browser. More specifically, I have a long lecture on my site (mp3) that by default opens in my visitors' browsers rather than offering to be downloaded. I know visitors can right-click on the link to get a 'Save as...' box, but I would rather 'Save as...' be the default action whenever the link is clicked. Alright, I'll admit up front that while I know very bare basics of HTML, I mostly just deal with Photoshop and the like, so I'm not much of a webmaster. That being said, here's my question: I have a site split up into tables, and I would like to place a scrollable section in the middle (where I can put whatever amount of text I need), but also place a non-scrolling image behind it. Does that make sense? If not, then I could try to explain further. Any help would be great. Hopefully I can keep this from getting long winded. I would like to create a simple website that just about anyone could maintain. Say for example, the Contact Info page has a phone number on it that has changed, instead of the person who maintains the site needing to know and understand html programming, they can simply open a txt file with the contact info in it, change it and save it. Then the next time some loads the html page it has the updated info on the html page. The important thing to me would be that the imported text from the txt file, could be formatted once on the html page. Thanks, for any help with this. Ok still super new at this HTML thing, but I am going to be using Filezilla to access my friends index.html file for a little eding of the text. My question is can I open the file, edit what I need and save it all within filezilla? Or do I need to drag the index.html file to my desktop, edit, save and the drag it back to filezilla? Hi Can any one help. I have this form the user is ask to input a message and a number. I want to be able to add a line of text to the message, which the user can not delete. But is sent joined to the message. ie User input Message = "Hi Just would like to share this site with you" with added text: Message "Hi Just would like to share this site with you" + "mydomain.com" Can anyone help? =========================================== Here is my form so far <script language="javascript" type="text/javascript"> function limitText(limitField, limitCount, limitNum) { if (limitField.value.length > limitNum) { limitField.value = limitField.value.substring(0, limitNum); } else { limitCount.value = limitNum - limitField.value.length; } } </script> <html> <body> <form action="stext.php" method="POST" name="number" id="number" style="width: 384; height: 372; "> <input name="number" type="text" id="number" style="position: absolute; left: 123; top: 287; color: #FFFFFF; width: 154px; border: 1px solid #ACC61B; background-color: #000000" size="20" tabindex="2"><p style="margin-top: 0; margin-bottom: 0"> <textarea name="message" cols="17" rows="1" id="message" onKeyDown="limitText(message,countdown,140);" onKeyUp="limitText(message,countdown,140);" style="position: absolute; left: 120; top: 105; width: 162px; height: 154px; color: #FFFFFF; font-family: Agency FB; font-size: 14pt; border: 1px solid #ACC61B; background-color: #000000" tabindex="1"></textarea> <br> </td> <input name="Submit" type="submit" id="Submit" value="!" style="position: absolute; left: 121; top: 329; color: #D95503; width: 157px; height: 23px; border: 1px solid #D95503; background-color: #D95503" tabindex="3"></p></form> <p style="margin-top: 0; margin-bottom: 0"><font size="4" face="Agency FB">Maximum characters: 140. You have <input readonly type="text" name="countdown" size="3" value="140"> characters left.</font> </font></p> <p style="margin-top: 0; margin-bottom: 0">nmgnm,</p> </body> can someone help me with a script basically i want an input box where u put ur name into. then u click submit then on the next page it displays what u just put in the input box...how do i do it? Hello, I'm trying to create a text field on my site, and I want that when a user enter his zip code, and then press enter, he will be directed to another website. But it doesn't work: <input type="text" name="zipcode" value="Enter your Zip Code" id="zip" maxlength="20" onclick="window.location.href='http://second.site.com'"> Thanks Steve I have a problem; Look at this; {a text field} <iframe id="iframe1" src="google.com/gog.html? + the letters in the text field"> My problem is to get the src in the iframe to be google.com/gog.pl? + the letters in a text box anywhere on my site. {google.com was just an example} Do you know this better than me? How can i chnage the text color of the disabled field. Style attribute is not working I am trying to develop a login page with Photoshop and Dreamweaver. I have spliced out my images from Photoshop and placed them in Dreamweaver. I attempted to delete the image of a text field and replace it with an actual text field input, but when I do that the picture becomes distorted. Here is the picture of the site with just the pictures and no text field: Here is the picture of the site with text field added where the image of a text field was: Any help would be appreciated. Hi Guys I have a text input field in a form that has data in it from a previous entries. Is there something i can do that ensures the field is empty when the form is pulled up? Thanks everyone Hello, I am making a check-in on my site. People have a number they recieve, what I want to do with this number is make a texfield and when the clicker presses Go! it does: http://www.cloudvairlines.com/index....redintextfield If anyone could make a code for this I would really really appreciate it. I have already tried some but none of them work! I have a input form i.e: Code: <tr> <td>Enter Salary:</td> <td><input type="text" name="text1" /></td> </tr><tr><td> <input type="button" name="button1" value="Submit" onClick="func(this.form)" /> </td></tr> This takes a input,and user clicks submit and it does some processing.... But I want to take multiple entries from the user before he clicks the submit button.But I dont know how many times he will enter data..so how to display the text field multiple times dynamically???? Hi, I've got an HTML form running on an internal intranet site. It contains a vbscript that pulls the username from the local machine. Is there a way to put that username in a text box on the html page for submission later? Please see the code below for reference thanks <html> <head> </head> <body> <script type="text/vbscript"> set objNetwork = createobject("wscript.network") document.write(objNetwork.Username) </script> </body> </html> Hi I'm not sure if this is the right place to ask but I want to know if it possible to make a drop down menu and then when you click on the content inside it adds it to a plain text field. This is for a form I'm making for my website...I just don't know how to do this. Oh and a button to remove the content again. Any help is appreciated. Thank you I have several websites that I maintain and update. A lot of them are just textual changes and I would think my customers can do these themselves by editing a simple .txt file. I was hoping my choices are avalable so that I can just insert this tag into my web pages and then give them login info to their edit page or show them how to upload the .txt file. I hope this is an easy one with several answers. Is it possible these tags could discipline your rankings in the search engines? Thanks, Jason |