PHP-GTK Manual
This manual is provided as a courtesy. It is not an official source. Please check gtk.php.net for updated information.
There is a PEAR package which solves exactly this problem: Gtk_FileDrop.
One could extend the application to save and load the tree's contents. The XBEL (XML Bookmark Exchange Language) would be very ideal for this.
Make your applications user-friendly: Every text field which requires a filename or a path should accept drops from file managers.