[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

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 bug

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

[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

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://..."; > >

[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 Ke

[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 http://192.168.4.2/";); $ch2 = curl_init("http://192.168.4.

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 <[E

[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 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 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: http://192.168.4.2/";); $ch2 = curl_init("http://192.168.4.2/";); curl_setopt($ch1,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch2,CURLOPT_RETURNTRANSFER,1

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

2002-08-27 Thread Wez Furlong
You did not say if you are using mbstring; check your phpinfo() output and look in the mbstring section. Also, have you tried looking at the data using curl/wget/telnet-to-web-server/ netcat and verified that the data is really really OK at that point? What if you use an alternative method of fetc

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

2002-08-27 Thread Merijn van den Kroonenberg
Message - From: "Marcus Börger" <[EMAIL PROTECTED]> To: "Merijn van den Kroonenberg" <[EMAIL PROTECTED]> Cc: "Wez Furlong" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, August 27, 2002 2:35 PM Subject: Re: [PHP-DEV] curl and U

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

2002-08-27 Thread Marcus Börger
think up is that the webserver itself might >do something to the data? I am running apache on linux, is that a >possibility? > >Merijn > >- Original Message - >From: "Wez Furlong" <[EMAIL PROTECTED]> >To: "Merijn van den Kroonenberg" <[EMAIL PROTEC

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

2002-08-27 Thread Merijn van den Kroonenberg
n 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? > Hey, > > That does not make sense, since neither curl nor PHP do any > kind of conversion like that. >

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 som

[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 (se

Re: [PHP-DEV] Curl no longer compiles

2002-08-25 Thread derick
On Sun, 25 Aug 2002, Wez Furlong wrote: > Hi Derick, > > You need to update your curl installation to curl-7.9.8, and we need > to bump the version check in configure. Fixed that check. Derick > > --Wez. > > On 08/25/02, "Derick Rethans" <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I get

Re: [PHP-DEV] Curl no longer compiles

2002-08-25 Thread Wez Furlong
Hi Derick, You need to update your curl installation to curl-7.9.8, and we need to bump the version check in configure. --Wez. On 08/25/02, "Derick Rethans" <[EMAIL PROTECTED]> wrote: > Hello, > > I get the following message when trying to enable the Curl extension: > > In file included from

[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 semicolon

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 anoth

[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, redir

[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 retur

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

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 righ

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 eac

Re: [PHP-DEV] curl compiler failed

2001-09-24 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>> feat

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 - i

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

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 possibly

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 fun

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 To unsubsc

[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 `zif_curl_getinfo'

[PHP-DEV] cURL does not compile

2001-09-24 Thread Stanislav Malyshev
cURL from CVS does not compile with cURL 7.8. I guess it's because of using new options, etc. Can it be made so that cURL module does not require constant upgrading to latest CVS of cURL? Like, some ifdefs, etc.? Or, if this is impossible, is it possible to update configure also so it would warn t

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, whi

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-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 ha

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

[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 Enginee

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

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 prod

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, n

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 w

[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 Products