Location: PHPKode > scripts > ConfigurationSettings.AppSettings > configurationsettings-appsettings/sample.php
<? 
//Include the correct version of the class
if(phpversion() < 5) require_once("ConfigurationSettings.php");
else require_once("ConfigurationSettingsPHP5.php");

// Create the object. Don't forget that the working directory must have
// write permissions
$appset = new AppSettings();

// Write or modify 2 variables in the Config File.
$appset->Put("name", "Axel"); 
$appset->Put("lastname", "Strembel"); 

// Get the value of the variables of the Config File
echo $appset->Get("name") . " " . $appset->Get("lastname");
?>
Return current item: ConfigurationSettings.AppSettings