Finished origin upload demo based php&little javascript.