PHP Web Browser class