with a few extra lines of code i can now do either ini files or json files
Code:
private function saveINI($wz, $id, $array) {
$string = NULL;
foreach( $array as $imgdir => $values) {
$string .= "[".$imgdir."]\n";
foreach( $values as $key => $value) {
$string .= $key."='".$value."'\n";
}
}
$file = fopen("php/".implode("/", array($wz, $id)).".ini", "w+");
fwrite($file, $string);
fclose($file);
}
private function saveJSON($wz, $id, $array) {
$file = fopen("js/".implode("/", array($wz, $id)).".json", "w+");
fwrite($file, json_encode($array));
fclose($file);
}
so now i figure with how powerful jquery is i can better debug the layer issue with ajax calls, since i have yet to have anyone help supply characters.
when i get this done to my liking expect the option of either using it with html5 or php