PHP Classes

Change Web Site Mode: Switch access to sites between test and production

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2015-01-12 (4 months ago) RSS 2.0 feedStarStarStarStar 69%Total: 1,882 This week: 1All time: 1,971 This week: 1,176Up
Version License PHP version Categories  
changewebsitemode 1.0GNU General Publi...4.0Utilities and Tools, Testing
Description Author  

This class can be used to switch the access to sites between test and production versions.

Each Web site must have 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.

Innovation Award  
PHP Programming Innovation award nominee
July 2007
Number 6
Sensible Web developers usually develop and test their sites using a development server that is distinct from the production server.

Testing a site often means switching tests between the development and production servers.

This package provides a neat trick that allows developers to test their sites in the development and production servers using the same URL.

Manuel Lemos
Picture of Nadir Latif
Name: Nadir Latif is available for providing paid consulting. Contact Nadir Latif .
Classes: 14 packages by
Country: Pakistan Pakistan
Age: 32
All time rank: 881 in Pakistan Pakistan
Week rank: 53 Up2 in Pakistan Pakistan Down
Innovation award
Innovation award
Nominee: 9x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file change_mode.php Example sample file
Plain text file cm_functions.php Class Contains all functions
Accessible without login Plain text file readme.txt Doc. Help file
Accessible without login Plain text file LICENSE.txt Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%Total:1,882All time:1,971
 This week:1This week:1,176Up
 User Ratings  
 All time