Okay, I've added the verbose output to copare exactly what is happening
between the two versions - thanks to Curt, the verbose info shows there IS
something different happening.
To recap, the code is exactly the same, the php version is the same (same
files even), the php.ini is the same (except drive letters), the curl
version is exactly the same (libcurl/7.14.0 OpenSSL/0.9.8 zlib/1.2.3). The
only difference is that one server is Win2k and the other is Win2003 (and
of course one is working and other is not).
Now it is very clear that something different is happening on the two
different servers. I've created a page to list the phpInfo() data, the code
that is being run, and the VERBOSE information outputted by cURL.
You can view the information here : http://70.84.198.254/index.html
You can see from looking at the verbose information that something is
definitely happening differently on the dev/working server.
Again, I'm putting a bounty on this issue. If you can help me fix this, 6
months of free hosting on one of my dedicated (you choose US or Germany)
based server (with your own IP). If you dont need/want hosting, I'll give
you some cash. Up to you.
Any help is greatly GREATLY appreciated!!
Thanks again,
Nate Nielsen
nnielsen@xxxxxxxxx
----- Original Message -----
From: "Curt Zirzow" <czirzow@xxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Thursday, November 17, 2005 9:28 PM
Subject: Re: php + cURL issue
On Thu, Nov 17, 2005 at 04:00:21PM -0600, Nate Nielsen wrote:
I'm having an issue with cURL. I have installed it on two different
boxes, one is working properly, and another isn't.
The script auto login's a user to a site. One server it works as
expected and logs the user in, the other it does not. It appears the
cookie data that is being saved is different on the two machines from the
login.
what are the differences in the cookies?
have you tried curl_setopt() with:
curl_setopt($ch, CURLOPT_VERBOSE);
curl_setopt($ch, CURLOPT_STDERR, $filehandle); // where to log
have you looked at the output on the login request to ensure that
the content is being returned as expected.
What does the code look like?
Curt.
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php