[PHP-DEV] curl multi

2003-03-17 Thread Wico de Leeuw
Hiya, If someone has some spare time could he look at curl_multi_info_read() i'd like to use (test) the curl_multi functions, but without the curl_multi_info_read it isn't really usefull (and when i look at the source i thing it's almost finished) P.S. when i test them i'll report back to you

[PHP-DEV] curl bugfix

2003-02-19 Thread Phil Oleson
Just posted a fix to a crash causing bug in the curl extension. It's applicable to all revs of php. though I only provided a patch to HEAD err 5.0 though it should be a quick cut paste for 4.3.1+ http://bugs.php.net/bug.php?id=22312 Phil. -- PHP Development Mailing List http://www.php.net/ To

Re: [PHP-DEV] curl bugfix

2003-02-19 Thread Jani Taskinen
Can you put that patch somewhere where it can be downloaded? (the bug system mangles it..) --Jani On Wed, 19 Feb 2003, Phil Oleson wrote: Just posted a fix to a crash causing bug in the curl extension. It's applicable to all revs of php. though I only provided a patch to

Re: [PHP-DEV] curl bugfix

2003-02-19 Thread Phil Oleson
Sure.. even made one for 4.3.1 http://nixil.net/curl.patches.tar.gz Phil. Jani Taskinen wrote: Can you put that patch somewhere where it can be downloaded? (the bug system mangles it..) --Jani On Wed, 19 Feb 2003, Phil Oleson wrote: Just posted a fix to a crash causing

[PHP-DEV] Curl Linux Console String -- PHP Translation

2003-01-17 Thread Andrian Ivanov
Hi, i have a curl string: curl --casert CA.srt -E client.pem:huho8 -l https://...; now, i've added all of the needed curl properties for the php application(e.g. curl_setopt($connection,CURLOPT_PORT,9000) BUT i can't find what's the name of the Curl CONSTANT matching the client's Public Key

Re: [PHP-DEV] Curl Linux Console String -- PHP Translation

2003-01-17 Thread Derick Rethans
Hello, please forward user questions to the [EMAIL PROTECTED] mailinglist, this list is for development _OF_ PHP, not development _with_ PHP. Derick On Fri, 17 Jan 2003, Andrian Ivanov wrote: Hi, i have a curl string: curl --casert CA.srt -E client.pem:huho8 -l https://...; now,

[PHP-DEV] Curl Multi Interface Patch

2002-10-19 Thread Boris Bukowski
Hi, now I made a Patch that is hopefully ok for you ;^) I introduced the following functions: curl_multi_init(); curl_multi_add ($multi,$ch1); curl_multi_add ($multi,$ch2); curl_multi_exec($multi); curl_get_content($ch1); thx, Boris ? // creates a multi session $multi = curl_multi_init();

[PHP-DEV] Curl multi interface in php_curl

2002-10-13 Thread Boris Bukowski
Hi, i introduced the curl multi interface in php_curl. Is this the right Place to post and discuss my Patch ? Here an example what i introduced: ? // creates a multi session $multi = curl_multi_init(); // start of a normal easy session $ch1 = curl_init(http://192.168.4.2/;); $ch2 =

Re: [PHP-DEV] Curl multi interface in php_curl

2002-10-13 Thread Sander Roobol
On Sun, Oct 13, 2002 at 06:15:23PM +0200, Boris Bukowski wrote: i introduced the curl multi interface in php_curl. Cool! Is this the right Place to post and discuss my Patch ? Yep, please post it here as an attachment. Please note that we just started QA on PHP 4.3.0-dev so this patch might

[PHP-DEV] Curl multi Interface Patch

2002-10-13 Thread Boris Bukowski
Hi, this works for me with curl-7.9.8 and php-4.2.3 under Linux. Problems are: * curl_easy_cleanup segfaults after curl_multi_cleanup * I have to introduce Version checking in these m4 Files Please give me suggestions howto make it clean and stable. thx Boris Here an example what this patch

Re: [PHP-DEV] Curl multi Interface Patch

2002-10-13 Thread Wez Furlong
Hi Boris, PHP 4.3 already has the needed checks for curl with the multi interface. Please read the README.SUBMITTING_PATCH file; your patch should be against CVS and not PHP 4.2 (which is really getting old now!). Also, you should Cc your patch to the curl extension maintiner Sterling Hughes

[PHP-DEV] curl and UTF-8, random encoding?

2002-08-27 Thread Merijn van den Kroonenberg
Hello List, I have a problem with the php CURL module and UTF-8 data. My php script uses curl to do a post to a perl/cgi script. This perl script returns UTF-8 encoded XML. The perl script returns utf-8, i have verified that using the webserver logfiles, but the data that i receive in $result

Re: [PHP-DEV] curl and UTF-8, random encoding?

2002-08-27 Thread Wez Furlong
Hey, That does not make sense, since neither curl nor PHP do any kind of conversion like that. Are you sure that you're not looking at the output from an XML processor that has mangled utf-8 - iso-8859-1 ?? (expat has source and target encodings that can be set separately), And are you using

Re: [PHP-DEV] curl and UTF-8, random encoding?

2002-08-27 Thread Merijn van den Kroonenberg
PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 11:49 AM Subject: Re: [PHP-DEV] curl and UTF-8, random encoding? Hey, That does not make sense, since neither curl nor PHP do any kind of conversion like that. Are you sure that you're not looking at the output from an XML processor

Re: [PHP-DEV] curl and UTF-8, random encoding?

2002-08-27 Thread Marcus Börger
? I am running apache on linux, is that a possibility? Merijn - Original Message - From: Wez Furlong [EMAIL PROTECTED] To: Merijn van den Kroonenberg [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 11:49 AM Subject: Re: [PHP-DEV] curl and UTF-8, random encoding

[PHP-DEV] Curl no longer compiles

2002-08-25 Thread Derick Rethans
Hello, I get the following message when trying to enable the Curl extension: In file included from /dat/dev/php/php-4.3.0dev/ext/curl/curl.c:45: /dat/dev/php/php-4.3.0dev/ext/curl/php_curl.h:114: parse error before `CURLM' /dat/dev/php/php-4.3.0dev/ext/curl/php_curl.h:114: warning: no

Re: [PHP-DEV] Curl Wrapper now in HEAD

2002-08-13 Thread Sterling Hughes
Hi Sterling, I've just commited my curl based wrapper. It's currently read-only (due to a temporary limitation in curl), and might not work properly for include/require statements (or passing streams to third-party libraries) on systems without fopencookie. Also, due to another bug

[PHP-DEV] Curl Wrapper now in HEAD

2002-08-12 Thread Wez Furlong
Hi Sterling, I've just commited my curl based wrapper. It's currently read-only (due to a temporary limitation in curl), and might not work properly for include/require statements (or passing streams to third-party libraries) on systems without fopencookie. Also, due to another bug in curl,

[PHP-DEV] Curl and PHP_CURL_RETURN wrong behavior

2002-02-08 Thread Hans-Jürgen Petrich
Hi, i still working with the PHP's curl functions (PHP 4.1.1) . When call curl_exec() and CURLOPT_RETURNTRANSFER ist set (to 1) via curl_opt() - php quit with a Segfault when curl_exec() receive nothink from the Server. After i get the last CVS curl.c (V 1.105) the Segfault was fixed but php

Re: [PHP-DEV] curl compiler failed

2001-09-25 Thread Sterling Hughes
On Mon, 24 Sep 2001, Stanislav Malyshev wrote: SH SH Yes, but it also affects the portability of apps when using cURL, SH you have to worry not only which php version supports which SH features, but also which curl version linked with php supports these SH features, this is

Re: [PHP-DEV] curl compiler failed

2001-09-25 Thread Stanislav Malyshev
SH I'd expect it to work with all php's above 4.0.8, the only problem SH is that if you link PHP 4.0.8 with an older version of CURL this SH will cause PHP compilation errors that maybe unforseen, therefore, SH to right it truly portable, you need two version checks for each new

Re: [PHP-DEV] curl compiler failed

2001-09-25 Thread Sterling Hughes
On Tue, 25 Sep 2001, Stanislav Malyshev wrote: SH I'd expect it to work with all php's above 4.0.8, the only problem SH is that if you link PHP 4.0.8 with an older version of CURL this SH will cause PHP compilation errors that maybe unforseen, therefore, SH to right it truly

Re: [PHP-DEV] curl compiler failed

2001-09-25 Thread Holger Schopohl
and also nl2br() crashes and chunk_split($string,2,' '); doesnt work ... nl2br() should be fixed can you make sure with the latest CVS, and make a backtrace of the crash? okay, with the current cvs version, it works fine, sorry -- Holger -- PHP Development Mailing List

[PHP-DEV] curl compiler failed

2001-09-24 Thread Holger Schopohl
Hi, in the current cvs tree: curl.c: In function `zm_startup_curl': curl.c:196: `CURLINFO_SSL_VERIFY_RESULT' undeclared (first use in this function) curl.c:196: (Each undeclared identifier is reported only once curl.c:196: for each function it appears in.) curl.c: In function

Re: [PHP-DEV] curl compiler failed

2001-09-24 Thread Derick Rethans
On Mon, 24 Sep 2001, Holger Schopohl wrote: and also nl2br() crashes and chunk_split($string,2,' '); doesnt work ... nl2br() should be fixed can you make sure with the latest CVS, and make a backtrace of the crash? Derick -- PHP Development Mailing List http://www.php.net/ To

Re: [PHP-DEV] curl compiler failed

2001-09-24 Thread Sterling Hughes
On Mon, 24 Sep 2001, Holger Schopohl wrote: Hi, in the current cvs tree: curl.c: In function `zm_startup_curl': curl.c:196: `CURLINFO_SSL_VERIFY_RESULT' undeclared (first use in this function) curl.c:196: (Each undeclared identifier is reported only once curl.c:196: for each function it

Re: [PHP-DEV] curl compiler failed

2001-09-24 Thread Stanislav Malyshev
SH Try latest cvs with one of the curl pre-releases (the latest pre SH release should work fine). Maybe it is still possible to ifdef such things? Like, support of two more constants is not really so vital for curl usage, and if I have a choice of using unpackaged pre-release

Re: [PHP-DEV] curl compiler failed

2001-09-24 Thread Sterling Hughes
On Mon, 24 Sep 2001, Stanislav Malyshev wrote: SH Try latest cvs with one of the curl pre-releases (the latest pre SH release should work fine). Maybe it is still possible to ifdef such things? Like, support of two more constants is not really so vital for curl usage, and if I have

Re: [PHP-DEV] curl compiler failed

2001-09-24 Thread Stanislav Malyshev
SH SH Yes, but it also affects the portability of apps when using cURL, SH you have to worry not only which php version supports which SH features, but also which curl version linked with php supports these SH features, this is a real headache. No, quite the opposite - if the

Re: [PHP-DEV] curl problem

2001-07-17 Thread Stanislav Malyshev
CV Sterling has been fixing some other cURL stuff, but he's told me CV (offlist) that he can't look at this problem until next week. CV Hopefully someone else can stand up and take a quick look. Generally, I think I know how to fix this in PHP. I am not copletely sure, however, that cURL's

Re: [PHP-DEV] curl problem

2001-07-17 Thread Stanislav Malyshev
CV Sterling has been fixing some other cURL stuff, but he's told me CV (offlist) that he can't look at this problem until next week. CV Hopefully someone else can stand up and take a quick look. Could you please try the attached patch? It seems to me that it results in a sane behaviour, while

[PHP-DEV] curl problem

2001-07-16 Thread Stanislav Malyshev
Seems like recent cURL module always outputs the header to STDOUT, even if the curl_setopt ($c, CURLOPT_HEADER, 0) was called. I do not know if it's cURL library or PHP cURL module problem, but obviously it is going to break a lot of scripts this way. -- Stanislav Malyshev, Zend Products

Re: [PHP-DEV] curl problem

2001-07-16 Thread Colin Viebrock
Seems like recent cURL module always outputs the header to STDOUT, even if the curl_setopt ($c, CURLOPT_HEADER, 0) was called. I do not know if it's cURL library or PHP cURL module problem, but obviously it is going to break a lot of scripts this way. I reported this already: bug #12018

Re: [PHP-DEV] curl problem

2001-07-16 Thread Stanislav Malyshev
CV I reported this already: bug #12018 CV CV Sterling has been fixing some other cURL stuff, but he's told me (offlist) CV that he can't look at this problem until next week. Hopefully someone else CV can stand up and take a quick look. Seems that I know what is the problem - header handler

[PHP-DEV] curl

2001-05-01 Thread Stanislav Malyshev
Trying to compile PHP tomorrow, I see a lot of undeclared errors in curl, like: /home.import/frodo/php4/ext/curl/curl.c:663: `CURLOPT_PASSWDFUNCTION' undeclared (first use in this function) etc. Can anybody tell me why it happens? It worked some days before. -- Stanislav Malyshev, Zend

Re: [PHP-DEV] curl

2001-05-01 Thread Andi Gutmans
At 04:06 PM 5/1/2001 +0300, Stanislav Malyshev wrote: Trying to compile PHP tomorrow, I see a lot of undeclared errors in curl, like: /home.import/frodo/php4/ext/curl/curl.c:663: `CURLOPT_PASSWDFUNCTION' undeclared (first use in this function) etc. Can anybody tell me why it happens? It worked

Re: [PHP-DEV] curl

2001-05-01 Thread Stanislav Malyshev
AG You need to get the latest CVS of curl itself. The header files AG have changed. Sterling posted diff's. Andi Ugh. I see. Will it work with some release of CURL on the start (or at least the end) of 4.0.6 cycle? Because releasing product depending on CVS version of something is ... well, not

Re: [PHP-DEV] curl

2001-05-01 Thread Sterling Hughes
On Tue, 1 May 2001, Stanislav Malyshev wrote: AG You need to get the latest CVS of curl itself. The header files AG have changed. Sterling posted diff's. Andi Ugh. I see. Will it work with some release of CURL on the start (or at least the end) of 4.0.6 cycle? Because releasing product

Re: [PHP-DEV] curl

2001-05-01 Thread Alexander Bokovoy
On Tue, May 01, 2001 at 04:06:00PM +0300, Stanislav Malyshev wrote: Trying to compile PHP tomorrow, I see a lot of undeclared errors in curl, like: /home.import/frodo/php4/ext/curl/curl.c:663: `CURLOPT_PASSWDFUNCTION' undeclared (first use in this function) etc. Can anybody tell me why