I am new to HTML and was wondering if i put a text box for users to type in, how i would take what they typed in and save it somewhere where only i can view it to see what has been written! I know the logic of what i want to do but i cant write it in HTML language!
To save information provided by users, the job is usually done with a database and a script on the server that hosts your site. You should be able to find a formmail script that would send the user data to you by Email, though. But HTML on its own can't store information on your website. Good luck!
Thanks for that! i knew it was going to be more complicated than a simple 'if' statement. Do you know how i would link the html page where the user types in text to the other page where the information is emailed to me?
Sure. Html can save the data on client side. It is done by cookie.
There is example:
If index1.html have those lines:
<div id="busines_12" pararule="para1">
<div class="para1" name="email_address"></div>
<div class="para1" name="user_name"></div>
In index2.html:
It can be used as 12.0 in index2.html as the value of "email_address" in index1.html. 12.1 int index2.html as the value of "user_name" in index1.html.
It is done by the framework of tagcgi. It's object is to make HTML can be used as PHP or C++ to write client or server sides scripts.
Saving data in a cookie is the least secure way of doing so.
Yes. If you want client to save data. You have no choice. But if you want this is done by server. There also have more secure server session here. But will cost network flow.
Bookmarks