Access Page Through Login

Hey guys,

I’m trying to make a script which can read pages from one of my sites (remotely linked to another). The problem is you must log in to the server first.

So, I need help:

  • logging into the server


  • getting the data from the next page (just the whole page as a string).

I know all of the values I need to pass and what not, I just need help putting it together.

I think CURL is the way to go, but I’m not sure what I’m missing.