Re: [PHP] Retrieving response headers from an off-site page

2006-08-03 Thread Richard Lynch
On Mon, July 31, 2006 5:36 pm, John Gunther wrote: > I'm trying to programatically retrieve a sales tax lookup page using > file_get_contents() but the page doesn't return data unless a session > id > is first retrieved and then supplied. http://php.net/curl is probably the easiest way to get/send

Re: [PHP] Retrieving response headers from an off-site page

2006-08-01 Thread John Gunther
Thank you! It sure looks like cURL is exactly the tool I need. As soon as I get it installed, I'll start playing with it. Ray Hauge wrote: I deal with screen-scraping a lot at work. I would suggest using cURL to store the cookie data, and then subsequently get the data you need. HTH --

Re: [PHP] Retrieving response headers from an off-site page

2006-07-31 Thread Andrew Kreps
On 7/31/06, Ray Hauge <[EMAIL PROTECTED]> wrote: On Monday 31 July 2006 17:36, John Gunther wrote: > I'm trying to programatically retrieve a sales tax lookup page using > file_get_contents() but the page doesn't return data unless a session id > is first retrieved and then supplied. > I deal wi

Re: [PHP] Retrieving response headers from an off-site page

2006-07-31 Thread Ray Hauge
On Monday 31 July 2006 17:36, John Gunther wrote: > I'm trying to programatically retrieve a sales tax lookup page using > file_get_contents() but the page doesn't return data unless a session id > is first retrieved and then supplied. > > You can see how it works as follows: > > The first time I s