La funzione file_get_contents() come si evince dal manuale è presente anche in PHP 4. Per quanto riguarda invece la funzione simplexml_load_string(), presente solo in PHP 5 puoi provare a dare un'occhiata a SimpleXML for PHP4