Login   Register  
PHP Classes
elePHPant
Icontem

PHP Registry: Store configuration key values in registry files

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-02-20 (10 years ago) RSS 2.0 feedStarStarStar 52%Total: 2,390 All time: 1,511 This week: 1,462Up
Version License Categories  
phpreg 1.0GNU General Public Lice...Files and Folders, Systems administra...
Description Author  

This package is meant to store and retrieve key values in files. It can work as a registry that stores application configuration values.

The class stores the values in registry values so they can later be retrieved in constants created with PHP define function.

The package also comes with a sub-class that can be used as Web interface for editing the registry key values.

You can set up the keys using the editor class and then your applications script defines each key as a contant.. For instance:

<?php echo constant('globals/db/host'); ?>

could return your database host address.

Picture of Richard
Name: Richard <contact>
Classes: 1 package by
Country: United Kingdom United Kingdom
Age: 31
All time rank: 117250 in United Kingdom United Kingdom
Week rank: 1874 Down79 in United Kingdom United Kingdom Down

  Files folder image Files  
File Role Description
Plain text file phpreg.php Class contains two classes, phpreg and phpregedit
Accessible without login HTML file tutorial.html Doc. toutorial like guide to some features of phpreg

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,390All time:1,511
 This week:0This week:1,462Up
 User Ratings  
 
 All time
Utility:71%StarStarStarStar
Consistency:82%StarStarStarStarStar
Documentation:83%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:1484