Change Web Site Mode is a PHP class that can be used to switch the access to sites between test and production versions. Each Web site must have a copy of all files in the production server and in a test server. This class allows the user to switch between the two copies of the site without having to change the URL. It provides a GUI interface for switching between the test mode and production site. The test version may be run in the local machine or in another machine.