Puoi utilizzare la funzione file_get_contents() per recuperare l'output della pagina PHP.

Codice PHP:
$out file_get_contents("http://xxxxxx/f.php");