Click to See Complete Forum and Search --> : How to save data of registration form?
junaidjee
June 11th, 2007, 09:01 AM
I am using javascript and html only.
suppose i have three text fields and one button in a website. Now when the user enter three values in the text fields and click on the button then i want to save these values in a text file so that i can use these values for later use even when no one is visiting the website.
Thanks for any responses.
PeejAvery
June 11th, 2007, 09:25 AM
Well, you will have to change your stance on HTML and JavaScript only. You need to use a server-side programming language such as PHP, ASP.NET, or JSP. JavaScript has no true access to the file system unless you use IE only. And even then the browser will send alerts to those viewing so that it could be overridden.
Which server-side language would you use?
junaidjee
June 11th, 2007, 01:04 PM
I do not know any sever-side language. Can you tell me which server-side language is easy such as javascript is easy to use. And which is also used in html file. Thanks...
PeejAvery
June 11th, 2007, 02:30 PM
I do not know any sever-side language. Can you tell me which server-side language is easy such as javascript is easy to use. And which is also used in html file. Thanks...
That will depend on what web server you will be working. If you have Apache, then PHP is the way to go. If you are working with IIS (Microsoft), ASP.NET would be your safest bet. Easiest would be PHP.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.