add wp7
modify json judgement
modify stristr to stripos
fixed: $key missed; modify expiration time to half day