HTML - Save Forms Data Locally
Hi,
i am studying in 10th grade in India. My computer science teacher has asked me and my classmates to design a website in html using forms and CSS. I have created one with help of frontpage 2003. It contains a user registeration form. I just want to give my teacher a surprise by saving the data entered in forms to a file on the computer. Please give the codings to do so. Also, when the user enters the username and pasword, he should be welcomed by his name. I have attached my file. Please help me. Similar TutorialsHi Q1 - I have a form in html that I would like to be able to save as a word doc once the user has completed. I can transfer the results by email but would also like to leave a hard copy. Q2 - Is this possible to do client side rather than server side just in case the user is offline? I haven't been able to google the answer so I must be searching for the wrong thing! Any suggestions?? Hi Everyone I have a problem with my form in that I have an html page with a dropdown list. I need the value selected to be passed to another html file. However I need this done with html and not javascript/css/asp etc. As an e.g. of what I have: <form name="connect" action="trace.php" method="get"> <select name="sites"> <option selected option value="http://www/connect.php">Choose A Site</option> <option value="http://10.20.12.50" name="Site1">Site1</option> <option value="http://10.20.12.55" name="Site2">Site2</option> <option value=http://10.20.12.40" name="Site3">Site3</option> </select> <br><br> <input type="Submit" value="Traceroute"> </form> So if the user selects site2 I need the name (or value) from the option field sent to trace.php and from the trace.php website i need to retrieve the value selected from the above. Can someone please help me by telling me how to do this? At the moment I cannot retrieve the value from the trace.php site. I have used $_POST & $_GET, but neither seem to work and I am not sure what I am doing wrong. TIA I am creating a prototype of a website on a local cdrive that will be installed on thousands of other computers, also on their crive. As such, thanks to SP2, there are warnings that come up when the home page of this site is opened up (yellow bar at top, several clickthroughs that you have to click on). I installed the .... `fix' which was to add to the top of the page a `Mark of the Web' which was to add this line of code <!-- saved from url=(0013)about:internet --> as the very first line. Intial problem was solved, this page now opens without any warnings ! HOWEVER A NEW PROBLEM WAS CREATED! Once on this page, any subsequent links to pdfs do not work AT ALL! Question: how can I stop the error messages and maintain full functionality to provide links to pdfs? Mo The solution cannot be changing settings on their browsers, or changing a registry key, or shipping a CD with the site on it, or putting it on the internet. Hi, i am getting some problems on the page as locally on my computer, both flash appear perfectly. However, it doesnt display when i have uploaded to server. This is the what appears on server: This is what appear locally Some information: The advertising has a link on it so you can click it and it takes you to a website. Secondly, when ever i open it up in local, this is what i get: Maybe this is the problem as when i click OK, i can click on the link normally. Code: (Flash Generated) place in header (sorry file to big to paste here) Code: http://pastebin.com/fqMmr5tA HTML Bit for not appearing on server (ADVERTISING) Code: <div id="twitter_box"> <script language="JavaScript" type="text/javascript"> AC_FL_RunContent( 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0', 'width', '290', 'height', '290', 'src', 'advertising', 'quality', 'high', 'pluginspage', 'http://www.adobe.com/go/getflashplayer', 'align', 'middle', 'play', 'true', 'loop', 'true', 'scale', 'showall', 'wmode', 'window', 'devicefont', 'false', 'id', 'advertising', 'bgcolor', '#ffffff', 'name', 'advertising', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','sameDomain', 'movie', 'advertising', 'salign', '' ); //end AC code </script> <noscript> <object type="application/x-shockwave-flash" data="advertising.swf" width="290" height="290"><param name="movie" value="advertising.swf" /></object> </noscript> </div> HTML BIT for video appearing on server and locally: Code: <div id="lower_left_content"> <h2>Video</h2> <script language="JavaScript" type="text/javascript"> AC_FL_RunContent( 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0', 'width', '282', 'height', '232', 'src', 'vids', 'quality', 'high', 'pluginspage', 'http://www.adobe.com/go/getflashplayer', 'align', 'middle', 'play', 'true', 'loop', 'true', 'scale', 'showall', 'wmode', 'window', 'devicefont', 'false', 'id', 'vids', 'bgcolor', '#ffffff', 'name', 'vids', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','sameDomain', 'movie', 'vids', 'salign', '' ); //end AC code </script> <noscript> <object type="application/x-shockwave-flash" data="vids.swf" width="282" height="232"><param name="movie" value="vids.swf" /></object> </noscript> </div> Where am i going wrong?? I recently uploaded files to fatcow and they can be see here http://kovcreation.com/ This is the html for the links. <Div id="nav"> <ul> <li><a href='index.html'"><font color="584842"vlink="#bb2826"alink="#584842">Home</font></a></li> <li><a href='Portfolio.html'"><font color="584842"vlink="#bb2826"alink="#584842">Portfolio</font></a></li> <li><a href='Contact.html'"><font color="584842"vlink="#bb2826"alink="#584842">Contact</font></a></li> </Div> It works locally but once uploaded to there servers I get a "page not found" after clicking a link. The link to the index page works but not the others. The people at fatcow where completely useless and just kept saying it was a scripting issue. however, if it were a scripting issue it wouldn't work locally. Any insight? Hi, I've decided to use subdirectories and index.html files to present my all my web pages (www.website.com/about, with a index.html file within the about folder). But I am finding it difficult to view my website locally when editing, as I open it in either firefox, safari, opera and every time time I hit a link it doesn't direct me to the index.html file, but instead shows me every file located within the directory. Is there anyway round this, as I am having to upload every page to view the changes I make to it. For example, do you know of any extensions or different web browsers that don't do this? Thanks, Matthew hello i have created a text box eg First Name [ Ash ] and inside u type your name if i close that page and then re open it the box is clear but if i type in the letter A ash will come up and i dont want that how would i remove that? so that it dosnt save my last input Ty all help links, codes will be greatly appreciated hey! i want to make a save button that will save whatever i typed in a box, and refreshes the page. (file:///codes.html) example: ------------ (typing box) blablablablablablalolblabla (End of typing box) (button, save) button clicked... blablablablablablalolblabla ------------ (typing box) blablablablablablalolblabla (End of typing box) (button, save). If possible, i dont want the text to dissapear when the page is refreshed. hello all I have a text area, and I need a button near it which when clicked it will save the content of the text area into a file. any help? thanks I want to save some space by avoiding rewriting some code that connects to server and database etc. Is there a way to do this in html? I know you can do somethihng similar in java (methods at end of program or seperate from program with new 'public stat...'). 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 I want to save the content of a textbox in a div on button press. PHP is a possibility but I don't want to get into databases. How would this be done, Hi all, I have a page that has a lot of links that bring up a PDF form file in its own window. No problem opening the link and getting the PDF but when a user selects "save link as" it only gives them the option of HTML not PDF. Even more interesting the HTML option just refreshes the page. Any ideas? Thanks. Sticks101 Hi ya, is there any program that will download a .asp web site convert it to .html and relink? i can't find anything... currently i'm saving each .asp as html in IE as complete web page, i don't mind doing this but how can i automatically change all the links to point to local copy instead of www? and change all folders containing images to only one folder with images? p.s. i can't install IIS (can't find disk) so i can't open .asp files on my home computer XP Pro.. thanks.. Hi guys i just joined and hope to learn a lot from this forum! Ok, My question is if there is a HTML code to save an image as a different image. To help explain better I want to embed an original artwork image on my myspace page. I have seen other artist do this same thing where they have embedded and image onto their page and if someone uses the Right click>Save image as... to try to save that image they get a whole different image than the one they wanted to save. For example: Say you wanted to save this image and after you use the Right click> save image as... and open up the file you just saved You get this Scripts don't work with myspace so i would like to know if there is a HTML code that does this. Thanks for your time <<<Edit>>> Ok heres a better example this users profile has an image of his alias i guess in his "About Me" Section and when you try to save the image you get a 1pixel gif Heres the users page (Google cache) http://64.233.167.104/search?q=cache...lnk&cd=1&gl=us The actual image URL is : http://img71.imageshack.us/img71/880/101copyzd9.png and the 1pixel gif's URL is : http://x.myspace.com/images/clear.gif I would like to know whats the html code for this because when you try to save the imageshack image you end up downloading the 1pixel gif instead Thanks for your time 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.... Good afternoon, I have a program that I am writing in HTML and Javascript. Here is what I want to do. I have a menu that goes to multiple pages. When I get to a certain page, I want a variable set that when I return to the menu, I can use that variable to display a check mark. I need to keep the functionality simple, so I can't use ASP or write to cookies. I have two ideas on what to do, but none of them worked. 1) To use a .js file. I can get the .js file to hold the variable on just the page that called it, but when I go to another page and access the .js file, I lose the variable. 2) To use frames, where I pass the variable dynamically to one frame and so I can access it later. I don't know what to do. I've tried using a combo of the above ideas, but nothing has worked. Any help would be greatly appreciated. Thanks. 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 Hi This is my first post. I have created a html page using vbscript. It is basically a timesheet to capture start and stop time of activities throughout a day. I have included drop-down boxes to select the activities and a command button which is used to enter time on clicking it. The file resides on an users machine and after it is opened the user can select the activity and enter the start and stop time. I just need a way to save this resulting HTML page onto some location. Note: The user has no access to applications like Word, Excel, Outlook etc. Thanks Pani hi peeps. i have a page where there is a selection box and the different choices give a different background in a certain div. please could somebody tell me how i would store that info in a cookie so that when the page changes, the background image stays the same? heres the link to my site if it helps: samsharples.com and here's the code HTML Code: <form action=""> <select onchange="changeDivImage(this.value)"> <option>Choose your favourite team</option> <option value="arsenal.png">Arsenal</option> <option value="aston_villa.png">Aston Villa</option> <option value="birmingham_city.png">Birmingham City</option> <option value="blackburn_rovers.png">Blackburn Rovers</option> <option value="bolton_wanderers.png">Bolton Wanderers</option> <option value="burnley.png">Burnley</option> <option value="chelsea.png">Chelsea</option> <option value="everton.png">Everton</option> <option value="fulham.png">Fulham</option> <option value="hull.png">Hull City</option> <option value="liverpool.png">Liverpool</option> <option value="manchester_city.png">Manchester City</option> <option value="manchester_united.png">Manchester United</option> <option value="portsmouth.png">Portsmouth</option> <option value="stoke_city.png">Stoke City</option> <option value="sunderland.png">Sunderland</option> <option value="tottenham_hotspur.png">Tottenham Hotspur</option> <option value="west_ham.png">West Ham</option> <option value="wigan_athletic.png">Wigan Athletic</option> <option value="wolverhampton_wanderers.png">Wolverhampton Wanderers</option> </select> </form> Code: function changeDivImage(url) { document.getElementById("third_col").style.backgroundImage = "url('images/" + url + "')"; } thank you in advance |