To overcome this, what is needed is some form of server-side scripting. Server-side scripting are instructions that are run by the server that hosts the website before the web pages are presented to the user's browser. Therefore the user is unable to switch these instructions off. The web page behaves as it is intended by the author.
The two most common server-side scripting languages are PHP and ASP. I have chosen PHP because it is free! It is also very powerful and well supported. You can identify web pages that use PHP by looking at the URL in the browser address bar. It will show something like http://www.somewebsite.com/index.php.
Now I am learning PHP. So far I have found it quite simple to use. I have installed a local server on my PC http://www.wampserver.com/ to learn and run PHP scripts. I am using an online tutorial http://www.code2design.com/lesson_1_welcome_to_php .