Re: Did cookie behavior with POSTing change?

2020-03-15 Thread Ray Satiro via curl-library

On 3/15/2020 6:38 PM, rob--- via curl-library wrote:

The version is what I interpret fromhttp://pmoz.info/try/phpinfo.php  . I
assumed that since the php was recently built, it would also have a new
version of curl. I guess not? This is a shared server, hosted with 1&1, so I
don't have direct influence over what version is used, but if it's indeed
ancient, I'll try to have it fixed.



Please don't top-post it makes the conversation hard to follow. [1] 
Since the libcurl version is that old I'd guess it's probably been there 
for a while. I think it's more likely something else in your script 
broke. You could try to enable CURLOPT_VERBOSE in your script. [2] If 
that doesn't help you could try to debug it using the latest version of 
the curl tool. [3]



[1]: https://curl.haxx.se/mail/etiquette.html#Do_Not_Top_Post
[2]: https://www.php.net/manual/en/function.curl-setopt.php
[3]: https://curl.haxx.se/download.html


---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

RE: Did cookie behavior with POSTing change?

2020-03-15 Thread rob--- via curl-library
The version is what I interpret from http://pmoz.info/try/phpinfo.php . I
assumed that since the php was recently built, it would also have a new
version of curl. I guess not? This is a shared server, hosted with 1&1, so I
don't have direct influence over what version is used, but if it's indeed
ancient, I'll try to have it fixed.


-Original Message-
From: Daniel Stenberg  
Sent: Sunday, March 15, 2020 5:02 PM
To: rob--- via curl-library 
Cc: r...@robsplants.com
Subject: Re: Did cookie behavior with POSTing change?

On Sun, 15 Mar 2020, rob--- via curl-library wrote:

> I can still successfully log in to the forum using cURL, and read 
> anything (with GET requests). But POSTing fails

cookies are sent exactly the same no matter what HTTP method that's used.

> my current cURL version is 7.38.0, and the php build date was March 2 
> (which may be when things stopped working - I don't recall exactly). I 
> do not know what the cURL version was before this.

7.38.0, are you sure about that? We shipped that version in September 2014
and I'd call it prehistoric. I don't think many still living humans remember
how that version used to work.

> In any case, I'm trying to get back in business, and would appreciate 
> any pointers as to how to go about this.

It's very hard for us to tell anything based on "it doesn't work" combined
with a very old version.

-- 

  / daniel.haxx.se | Commercial curl support up to 24x7 is available!
   | Private help, bug fixes, support, ports, new features
   | https://www.wolfssl.com/contact/

---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Re: Did cookie behavior with POSTing change?

2020-03-15 Thread Ray Satiro via curl-library

On 3/15/2020 4:45 PM, rob--- via curl-library wrote:


I�ve been using cURL for a long time to make automated posts to the 
phpBB3 forum. Recently, it stopped working. The forum software has not 
been changed, so I think this is something in the cURL behavior. I can 
still successfully log in to the forum using cURL, and read anything 
(with GET requests). But POSTing fails, with a message from the forum 
that I need to be logged in. I�m using the same curl handle (with 
cookie jar) for the GET and POST requests, which used to work like a 
charm. From phpinfo(), my current cURL version is 7.38.0, and the php 
build date was March 2 (which may be when things stopped working � I 
don�t recall exactly). I do not know what the cURL version was before 
this.


In any case, I�m trying to get back in business, and would appreciate 
any pointers as to how to go about this.




That version of curl is over 5 years old. If it is an issue in curl it's 
likely long since been fixed.


---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Re: Did cookie behavior with POSTing change?

2020-03-15 Thread Daniel Stenberg via curl-library

On Sun, 15 Mar 2020, rob--- via curl-library wrote:

I can still successfully log in to the forum using cURL, and read anything 
(with GET requests). But POSTing fails


cookies are sent exactly the same no matter what HTTP method that's used.

my current cURL version is 7.38.0, and the php build date was March 2 (which 
may be when things stopped working - I don't recall exactly). I do not know 
what the cURL version was before this.


7.38.0, are you sure about that? We shipped that version in September 2014 and 
I'd call it prehistoric. I don't think many still living humans remember how 
that version used to work.


In any case, I'm trying to get back in business, and would appreciate any 
pointers as to how to go about this.


It's very hard for us to tell anything based on "it doesn't work" combined 
with a very old version.


--

 / daniel.haxx.se | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://www.wolfssl.com/contact/
---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Did cookie behavior with POSTing change?

2020-03-15 Thread rob--- via curl-library
I've been using cURL for a long time to make automated posts to the phpBB3
forum. Recently, it stopped working. The forum software has not been
changed, so I think this is something in the cURL behavior. I can still
successfully log in to the forum using cURL, and read anything (with GET
requests). But POSTing fails, with a message from the forum that I need to
be logged in. I'm using the same curl handle (with cookie jar) for the GET
and POST requests, which used to work like a charm. From phpinfo(), my
current cURL version is 7.38.0, and the php build date was March 2 (which
may be when things stopped working - I don't recall exactly). I do not know
what the cURL version was before this.

In any case, I'm trying to get back in business, and would appreciate any
pointers as to how to go about this.

Thanks!

Rob

---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html