- use the online db access
- modify file to fix online php version compatability issue