#40 #41 update join event php and java code

#40 #42 #41 update join event php and java