So for example here is a URL: https://rexms.net:32005/rexwapi/common/timeframes -- if I go to that URL in my browser enter the correct username/password it will spit out XML at me. The problem is I need to access this through PHP so I obviously don't get a prompt to enter username/password.
Current code is:
$timeframes_xml = simplexml_load_file(file_get_contents('https://rexms.net:32005/rexwapi/common/timeframes'));