Hello,
*hups* Fehler entdeckt
Hier noch die Funktion, um aus dem Array_Path_String wieder ein Deep-Array zumachen.
#------------------------------------------------------------------------------
function make_deep_array($array_pathstr, $value=NULL, $sep='.')
{
$_arr = array();
$array_pathstr = trim($array_pathstr, $sep);
$_ref =& $_arr;
while (strlen($array_pathstr) > 0)
{
$path = strtok($array_pathstr, $sep);
$array_pathstr = substr($array_pathstr,strlen($path)+1);
$_ref[$path] = NULL;
$_ref =& $_ref[$path];
}$_ref = $value;
return $_arr;
}
#------------------------------------------------------------------------------
Liebe Grüße aus dem schönen Oberharz
Tom vom Berg