Main PHP utility file