Reading echo'ed output from a php file