function AddFolderList() { $path = $_GET["AddFolderList"]; $hard = new harddrive(); $hard->add_path($path); }