Dedicated Server

A server that is hosted by a company and only allows one company to lease and access it is called a dedicated server. It is "dedicated" to the one client and is not shared with any other clients. Dedicated servers usually allow the client to choose what operating system is installed on it and what type of hardware. In some cases, as an add-on service, the hosting company will provide administration services for the client, freeing the client from having to worry about it.

In most cases, the hosting company performs most, if not all, of the maintenance on the dedicated server, including operating system updates and updates to any installed applications, monitoring of the server and applications, firewall maintenance, intrusion detection, data backups, disaster recovery, and a number of other maintenance services. The hosting company also employs strict security measures to safeguard their clients' data and comply with all security policies and audit guidelines. Clients usually pay a monthly, quarterly, or yearly fee to use a dedicated server, which can save money over hosting, maintaining, and managing their own servers on-site.

Submit Buttons and Reset Buttons

Submit buttons have been used copiously throughout this chapter, so there's no need for an example that demonstrates how they work. However, there are a couple of points to note. First, what happens if you need more than one submit button in a form? In this case you will have to set the name and value attributes of the Submit buttons on your page as well. For example:

<input value="Button 1 pressed" type="submit" name="Submit1">
<input value="Button 2 pressed" type="submit" name="Submit2">

This, as you might expect, creates variables in PHP that PHP can pick up. In fact, this code would create one variable in PHP depending on which button is pressed. If you press Submit1 then a variable called Submit1 is created within the $_GET or $_POST array. If you press Button 2, then Submit2 is created. The contents of Submit1 are Button 1 pressed, while the contents of Submit2 are Button 2 pressed. There's actually nothing useful to be done with this yet, so there's no example now.

Secondly, the Submit button offers no respite if you type in the wrong information. Although you can't actually undo information sent via the Submit button, the Reset button control offers a little help because it can be used to set the state of all controls on the form to their initial state.

<input type="reset">