Minor fixes to make the PHP samples more mobile client friendly.