Re: [PHP] cURL - Error 400

2009-04-20 Thread David
On Mon, Apr 20, 2009 at 9:35 PM, haliphax wrote: > On Fri, Apr 17, 2009 at 7:58 AM, David wrote: > > On Fri, Apr 17, 2009 at 8:55 PM, Andrew Ballard > wrote: > >> > >> On Fri, Apr 17, 2009 at 12:41 AM, David > wrote: > >> > On Thu, Apr 16, 2009 at 11:48 PM, haliphax > wrote: > >> > > >> >> On

Re: [PHP] cURL - Error 400

2009-04-20 Thread haliphax
On Fri, Apr 17, 2009 at 7:58 AM, David wrote: > On Fri, Apr 17, 2009 at 8:55 PM, Andrew Ballard wrote: >> >> On Fri, Apr 17, 2009 at 12:41 AM, David wrote: >> > On Thu, Apr 16, 2009 at 11:48 PM, haliphax wrote: >> > >> >> On Wed, Apr 15, 2009 at 9:17 PM, David >> >> wrote: >> >> > Except I als

Re: [PHP] cURL - Error 400

2009-04-17 Thread David
On Fri, Apr 17, 2009 at 8:55 PM, Andrew Ballard wrote: > On Fri, Apr 17, 2009 at 12:41 AM, David wrote: > > On Thu, Apr 16, 2009 at 11:48 PM, haliphax wrote: > > > >> On Wed, Apr 15, 2009 at 9:17 PM, David > wrote: > >> > Except I also need to POST data to the server to login. After I've > log

Re: [PHP] cURL - Error 400

2009-04-17 Thread Andrew Ballard
On Fri, Apr 17, 2009 at 12:41 AM, David wrote: > On Thu, Apr 16, 2009 at 11:48 PM, haliphax wrote: > >> On Wed, Apr 15, 2009 at 9:17 PM, David wrote: >> > Except I also need to POST data to the server to login. After I've logged >> > in, I then need to use cookies to maintain a session. >> > >>

Re: [PHP] cURL - Error 400

2009-04-17 Thread David
On Fri, Apr 17, 2009 at 8:20 PM, haliphax wrote: > On Thu, Apr 16, 2009 at 11:41 PM, David wrote: > > Hi, > > > > Sorry, that didn't work. The website is still returning error 400 with > > CURLOPT_COOKIESESSION and CURLOPT_COOKIE enabled. > > > > I did some experimentation in Firefox by blocking

Re: [PHP] cURL - Error 400

2009-04-17 Thread haliphax
On Thu, Apr 16, 2009 at 11:41 PM, David wrote: > Hi, > > Sorry, that didn't work. The website is still returning error 400 with > CURLOPT_COOKIESESSION and CURLOPT_COOKIE enabled. > > I did some experimentation in Firefox by blocking and deleting all cookies > from the site. When I then visited th

Re: [PHP] cURL - Error 400

2009-04-16 Thread David
Hi, Sorry, that didn't work. The website is still returning error 400 with CURLOPT_COOKIESESSION and CURLOPT_COOKIE enabled. I did some experimentation in Firefox by blocking and deleting all cookies from the site. When I then visited the site, I was able to reach the logon page without returning

Re: [PHP] cURL - Error 400

2009-04-16 Thread haliphax
On Wed, Apr 15, 2009 at 9:17 PM, David wrote: > Except I also need to POST data to the server to login. After I've logged > in, I then need to use cookies to maintain a session. > > Doing that via file_get_contents() just isn't possible. > > > Thanks > > On Thu, Apr 16, 2009 at 2:30 AM, haliphax

Re: [PHP] cURL - Error 400

2009-04-15 Thread David
Except I also need to POST data to the server to login. After I've logged in, I then need to use cookies to maintain a session. Doing that via file_get_contents() just isn't possible. Thanks On Thu, Apr 16, 2009 at 2:30 AM, haliphax wrote: > On Wed, Apr 15, 2009 at 10:36 AM, David >> wrote:

Re: [PHP] cURL - Error 400

2009-04-15 Thread haliphax
On Wed, Apr 15, 2009 at 10:36 AM, David wrote: > I was wondering if anyone could please help me with this cURL script since I > keep getting error 400 from the web server: > > http://pastebin.ca/1392840 > > It worked until around a month ago which is when they presumably made > changes to the site

[PHP] cURL - Error 400

2009-04-15 Thread David
Hi I was wondering if anyone could please help me with this cURL script since I keep getting error 400 from the web server: http://pastebin.ca/1392840 It worked until around a month ago which is when they presumably made changes to the site. Except I can't figure out what configuration option i