Login   Register  
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 del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-08-01 (7 years ago) RSS 2.0 feedStarStarStarStar 69%Total: 1,847 This week: 1All time: 1,988 This week: 1,398Up
Version License PHP version Categories  
changewebsitemode 1.0GNU General Public Lice...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: 12 packages by
Country: Pakistan Pakistan
Age: 31
All time rank: 921 in Pakistan Pakistan
Week rank: 71 Up1 in Pakistan Pakistan Equal
Innovation award
Innovation award
Nominee: 7x

  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

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,847All time:1,988
 This week:1This week:1,398Up
 User Ratings  
 All time