title: PHP cURL Location Change
body: <p>I am using cURL to display the contents of a page behind a login system. I am able to successfully login and display the first page behind the login system, but any subsequent pages are unable to be displayed.</p>
  
  <p>My understanding of the problem is that cURL follows the headers that are provided after logging in. So, if the order is login.php -> home.php, and I want to go to account.php, I would need another header pointing to that page.</p>
  
  <p>Is that correct? Can I use cURL to display the contents of other pages after logging in?</p>