function SaveFolderList() { $path = $_GET["SaveFolderList"]; $index = $_GET["index"]; $hard = new harddrive(); $hard->edit_path($index, $path); }