title: get header information from php curl post request
body: <p>I've been searching for hours and can't find anything on this. I'm doing a php curl post request to the sugarsync api and it returns a location in the headers that i need. i have no idea how to get this information. i have to keep it as a post because i post an xml file to their api and all they do is return header information. i have no clue how i can access the location in the headers. <a href="https://www.sugarsync.com/developer?ref=/dev/getting-started.html">according to them</a> i need to put it into another xml file and post that as well. any help is appreciated. </p>