cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

RE: https problems in php, I think?

From: Ian Hadley <ian.hadley_at_border-technology.com>
Date: Sun, 30 Mar 2003 10:57:16 +1000

I experienced that same thing and placed an fwrite($fh, "\n"); after my
curl_close ... which seemed to cure it for me.

Ian

-----Original Message-----
From: curl-and-php-admin_at_lists.sourceforge.net
[mailto:curl-and-php-admin_at_lists.sourceforge.net] On Behalf Of Geoff
Groberg
Sent: Sunday, 30 March 2003 2:53 AM
To: curl-and-php_at_lists.sourceforge.net
Subject: https problems in php, I think?

I'm having a problem that I can't figure out. I'm trying to do a
server-side post to a credit card gateway using curl and php through
https.

It seems like the curl code works, because the transaction goes through
and I get a confirmation email from the gateway provider. But the php
page itself doesn't seem to work. It just stalls on me. I get no
response. I even try to output some html and then use flush(); at the
beginning of the php page, before the curl code, but even that doesn't
come through. Unless I remove the curl code. Then everything works fine.

It's really strange. And like I said, even though nothing comes
through, the transaction does happen. It's as though the curl code
executes, but the php refuses to output anything to the client browser.

Does anyone have any ideas as to what the problem is?

I'm running Linux on a RaQ3 with PHP (4.2.3), the latest version of
curl 7.10.3, OpenSSL 0.9.3

-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en

-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
Received on 2003-03-30