made changes to the upload php script so that argv[*] can be passed between php and python