Needs to specify the .php
few missing globals
remove curl check

Signed-off-by: Suki <suki@missallsunday.com>