| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Curl to Access Remote Server via ISA Proxy Server
From: Rajalakshmi Murali <murali_at_un.org>
Date: Wed, 1 Nov 2006 09:57:52 -0500
Hi
I displayed the information I received using the command curl_getinfo()
(Embedded image moved to file: pic02016.jpg)
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. Re: curl via ISA Proxy Server (Daniel Stenberg)
----------------------------------------------------------------------
Message: 1
On Mon, 30 Oct 2006, Rajalakshmi Murali wrote:
> My web application on a local server uses curl to connect via a proxy to
> Server 2003 with ISA Server 2004 .
> I am getting a status code of 0. Could you please advise me as to what
There's a huge lack of details in your mail, but I would guess that your
-- 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 14, Issue 13 ******************************************** Rajalakshmi Murali Application Developer Field Information Services Unit United Nations Office for the Coordination of Humanitarian Affairs New York Tel: +1 917-367-2177 E-mail: murali_at_un.org curl-and-php-requ est_at_cool.haxx.se Sent by: To curl-and-php-boun curl-and-php_at_cool.haxx.se ces_at_cool.haxx.se cc Subject 01/11/2006 06:00 curl-and-php Digest, Vol 15, Issue AM 1 Please respond to curl-and-php_at_cool .haxx.se Send curl-and-php mailing list submissions to curl-and-php_at_cool.haxx.se To subscribe or unsubscribe via the World Wide Web, visit http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php or, via email, send a message with subject or body 'help' to curl-and-php-request_at_cool.haxx.se You can reach the person managing the list at curl-and-php-owner_at_cool.haxx.se When replying, please edit your Subject line so it is more specific than "Re: Contents of curl-and-php digest..." Today's Topics: 1. response code problem (Daniel Stenberg) 2. PHP/CURL Compilation problem (Philippe BEAU) 3. Re: PHP/CURL Compilation problem (Daniel Stenberg) ---------------------------------------------------------------------- Message: 1 Date: Tue, 31 Oct 2006 22:55:06 +0100 (CET) From: Daniel Stenberg <daniel_at_haxx.se> Subject: response code problem To: curl with PHP <curl-and-php_at_cool.haxx.se> Message-ID: <Pine.LNX.4.64.0610312249170.11364_at_yvahk3.pbagnpgbe.fr> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Tue, 31 Oct 2006, Rajalakshmi Murali wrote: You should seriously read through our mailing list etiquette: http://curl.haxx.se/mail/etiquette.html - you violated several of the items mentioned there. > I have an option within my web application, where I accept the Remote Host > URL or IP address to connect, from the user and use curl to connect and > process data. If there is no proxy server then the connection and the data > exchange goes through fine. > > When there is an intermediate ISA Proxy Server to connect to the internet, > the user has to specify the Proxy Server address, windows login info. > > The code I use when there is a proxy server is as follows:- > curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL,1); And your proxy server allows this? What response headers do you get back from your proxy? -- 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 *******************************************
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info