I need to recover XML data from a news provider for a website. In order to do so, I need to send a url request to authenticate on a daily basis, and then I need to include the authentication ID with every new request I send. Basically the session expires every 24 hrs and then I need to request a new one to keep receiving my (non-RSS) news feeds. Is there any way to automate this process? With cURL maybe? My knowledge of PHP is fairly basic but I don't imagine I need to manually go into the file every morning, request the ID and copy the numerical string into all of my data requests...? Also I don't know if this is common practice or if it is specific to our news provider, but any help, or if someone could maybe point me to a PHP tutorial on how to do this would be appreciated.
Thanks! Jane