Originally all web pages on the Internet were static pages, which is to say that the content of each page remained constant whenever it was viewed. In contrast to this a dynamic web page can change the way in which is presented depending on various types of user input. Some examples of this include displaying the current date or time, adding calendars to pages, generating forms to collect data or enabling a log-in to a forum or database. There are two ways in which this is done, client-side scripting or server-side scripting.
In contrast to this, server-side scripting relies on the web server to execute the script. These scripts are executed on the server, and then the output is sent to the users’ web browser. Languages such as PHP, Perl or ASP are commonly used for this. There are many ways in which server-side scripting is used, for example to allow a user to log in to a secure database.
Server-side scripting does however require support from the web server. The choice of which method to use is depend on the operating system that the web host’s servers are using. A Unix/Linux-based server normally offers support for PHP and Perl, whereas a Windows-based server will support ASP. There are ways to enable a Windows-based server to run PHP or Perl, or vice versa, but in order to ensure full compliance it is normally best to run the language on the operating system for which it was developed. This may also have other implications as well. If you are planning to use a database, for example, you will need to ensure compatibility with that. Make sure that your choice of web hosting can supply all of your needs, or you just find that adding dynamic content is a waste of your time and resources.