python script and php script for populating gftp database and searching it.