| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Query Remote Server via ISA Proxy Server
From: Rajalakshmi Murali <murali_at_un.org>
Date: Wed, 1 Nov 2006 10:25:03 -0500
Hi
HTTP code:0 Received HTTP Code 502 from proxy after Connect – Error No.56
Thanks
Rajalakshmi Murali
Tel: +1 917-367-2177
Send curl-and-php mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
Today's Topics:
1. response code problem (Daniel Stenberg)
----------------------------------------------------------------------
Message: 1
On Tue, 31 Oct 2006, Rajalakshmi Murali wrote:
You should seriously read through our mailing list etiquette:
mentioned there.
> I have an option within my web application, where I accept the Remote
> curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL,1);
And your proxy server allows this? What response headers do you get back
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html ------------------------------ Message: 2 Date: Wed, 1 Nov 2006 05:49:17 +0100 (CET) From: "Philippe BEAU" <philippe_at_choup.net> Subject: PHP/CURL Compilation problem To: curl-and-php_at_cool.haxx.se Message-ID: <53105.86.209.72.168.1162356557.squirrel_at_www.choup.net> Content-Type: text/plain;charset=iso-8859-1 Hello All, I would like to compile cURL support with PHP 4.4.2. I take a recent version of curl/libcurl (the latest) it compile well. when i compil i have this message : /src/php-4.4.2/ext/curl/curl.c: In function `zm_startup_curl': /src/php-4.4.2/ext/curl/curl.c:207: `CURLOPT_FTPASCII' undeclared (first use in this function) /src/php-4.4.2/ext/curl/curl.c:207: (Each undeclared identifier is reported only once /src/php-4.4.2/ext/curl/curl.c:207: for each function it appears in.) /src/php-4.4.2/ext/curl/curl.c:245: `CURLOPT_PASSWDFUNCTION' undeclared (first use in this function) All the CURL file on the harddrive have been deleted before installing new libs. i try from RPM, rebuild RPM, of From Source. Same errors ! Also, i found a solution, but ... for CURLOPT_FTPASCII : in curl sources : lib/url.c case CURLOPT_TRANSFERTEXT: /* * This option was previously named 'FTPASCII'. Renamed to work with * more protocols than merely FTP. * * Transfer using ASCII (instead of BINARY). */ data->set.prefer_ascii = (bool)(0 != va_arg(param, long)); break; -> is CURLOPT_FTPASCII is renamed by CURLOPT_TRANSFERTEXT ? -> is CURLOPT_PASSWDFUNCTION is misdeclared in lib (not present in .h file ?) that PHP don't find it well ? If i comment in curl.c the 2 lines concerned, it's work well ... Philippe, ------------------------------ Message: 3 Date: Wed, 1 Nov 2006 09:15:12 +0100 (CET) From: Daniel Stenberg <daniel_at_haxx.se> Subject: Re: PHP/CURL Compilation problem To: curl with PHP <curl-and-php_at_cool.haxx.se> Message-ID: <Pine.LNX.4.64.0611010912450.11364_at_yvahk3.pbagnpgbe.fr> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Wed, 1 Nov 2006, Philippe BEAU wrote: > I would like to compile cURL support with PHP 4.4.2. I take a recent version > of curl/libcurl (the latest) it compile well. > > when i compil i have this message : > > /src/php-4.4.2/ext/curl/curl.c:207: `CURLOPT_FTPASCII' undeclared > /src/php-4.4.2/ext/curl/curl.c:245: `CURLOPT_PASSWDFUNCTION' undeclared Right, these symbols have been erased from libcurl now since they've been obsolete and deprecated for many years. You should probably: 1 - use a more recent PHP that doesn't use these symbols 2 - modify the PHP/CURL source code to use the correct symbols and mail the PHP team a patch or possibly: 3 - if there is none, report it as a bug to the PHP team 4 - use an older libcurl release where they were still present -- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html ------------------------------ _______________________________________________ curl-and-php mailing list curl-and-php_at_cool.haxx.se http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php End of curl-and-php Digest, Vol 15, Issue 1 ******************************************* _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2006-11-01 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info