curl-and-php
reverse lookups
Date: Thu, 15 Jul 2004 09:35:24 -0400
i had a similar problem with reverse lookups in php with curl. I'd try to
connect to a payment gateway and it would time out, hanging on reverse
lookups.
i did nothing special to make it do reverse lookups, just a typical php curl
execution. i never figured out a way to make it(curl, php, the server, who
knows?) not do them.
alas, i gave up and went another non curl route.
-chad pry
----- Original Message -----
From: <curl-and-php-request_at_cool.haxx.se>
To: <curl-and-php_at_cool.haxx.se>
Sent: Thursday, July 15, 2004 6:00 AM
Subject: Curl-and-php Digest, Vol 6, Issue 7
> 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/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. Re: ASPX Active Directory Authentication Help (Daniel Stenberg)
> 2. Re: Reverse DNS delays (Daniel Stenberg)
> 3. Re: curl ssh (Daniel Stenberg)
> 4. RE: ASPX Active Directory Authentication Help (vah330_at_excite.com)
> 5. AW: ASPX Active Directory Authentication Help (Christian Fanzott)
> 6. Re: php-curl on Debian (Daniel Stenberg)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 14 Jul 2004 17:34:10 +0200 (CEST)
> From: Daniel Stenberg <daniel-curl_at_haxx.se>
> Subject: Re: ASPX Active Directory Authentication Help
> To: using curl with PHP <curl-and-php_at_cool.haxx.se>
> Message-ID: <Pine.LNX.4.60.0407141733060.2307_at_yvahk3.pbagnpgbe.fr>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Mon, 12 Jul 2004, Ron Whiteleather wrote:
>
> > I have an ASPX application that I am able to login to via PHP and
libcURL
> > and the "home" page is returned. I also believe that it is passing an
> > active directory cookie used for authentication. My problem is that
when I
> > try to "navigate" to the next page, I get automatically redirected to
the
> > login page. I believe this is because I am not passing the
authentication
> > information back properly as part of my second request but I am not
clear on
> > how to do it.
>
> It is probably because the necessary cookies were get and sent by curl and
> when you then use your browser it has no proper cookies and are denied
access.
>
> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 14 Jul 2004 17:35:29 +0200 (CEST)
> From: Daniel Stenberg <daniel-curl_at_haxx.se>
> Subject: Re: Reverse DNS delays
> To: using curl with PHP <curl-and-php_at_cool.haxx.se>
> Message-ID: <Pine.LNX.4.60.0407141734170.2307_at_yvahk3.pbagnpgbe.fr>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Mon, 12 Jul 2004, jameadows wrote:
>
> > When using cURL/PHP I am seeing long delays in fetching some web pages
and
> > the delay seems to be caused by an attempt to do a reverse DNS lookup
which
> > is ultimately timing out.
>
> What operations do you do that makes reverse lookups? Have you disabled
the
> verbose output?
>
> libcurl is not meant to do reverse lookups at all.
>
> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 14 Jul 2004 17:36:40 +0200 (CEST)
> From: Daniel Stenberg <daniel-curl_at_haxx.se>
> Subject: Re: curl ssh
> To: christian_at_tacc.at, using curl with PHP <curl-and-php_at_cool.haxx.se>
> Message-ID: <Pine.LNX.4.60.0407141735360.2307_at_yvahk3.pbagnpgbe.fr>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Tue, 13 Jul 2004, Christian Fanzott wrote:
>
> > is there a possability to check via curl if the ports for ssh are open
or
> > not respectively if i actually have the possability to check whether a
port
> > is answering or not with the use of curl?
>
> Yes it is, if you use telnet://, your custom port and a timeout.
>
> But I would rather recommend using a tool made for it instead. Like nmap
or
> similar.
>
> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 14 Jul 2004 22:49:43 -0400 (EDT)
> From: "" <vah330_at_excite.com>
> Subject: RE: ASPX Active Directory Authentication Help
> To: curl-and-php_at_cool.haxx.se
> Message-ID: <20040715024943.DB51F109ED1_at_xprdmailfe1.nwk.excite.com>
> Content-Type: text/plain; charset="us-ascii"
>
>
>
> I had a similar problem and found a suggestion at the PHP site (
http://www.php.net/manual/en/ref.curl.php - comment by dweingart at pobox
dot com) which worked for me.
>
> Set the cookiejar option as follows.
>
> curl_setopt($ch, CURLOPT_COOKIEJAR, "-");
>
> I hope it helps.
>
> Dan O.
>
>
>
> --- Previous Message ---
>
> Date: Mon, 12 Jul 2004 15:37:52 -0400
> From: "Ron Whiteleather"
> Subject: ASPX Active Directory Authentication Help
>
> Hi All,
>
> I have an ASPX application that I am able to login to via PHP and libcURL
and the "home" page is returned. I also believe that it is passing an active
directory cookie used for authentication. My problem is that when I try to
"navigate" to the next page, I get automatically redirected to the login
page. I believe this is because I am not passing the authentication
information back properly as part of my second request but I am not clear on
how to do it.
>
> Any help or suggestions would be greatly appreciated.
>
>
> --- END Previous Message ---
>
>
> _______________________________________________
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 15 Jul 2004 09:12:21 +0200
> From: "Christian Fanzott" <christian_at_tacc.at>
> Subject: AW: ASPX Active Directory Authentication Help
> To: "using curl with PHP" <curl-and-php_at_cool.haxx.se>
> Message-ID: <GDEKKFFPEDGOJALKOHILKENGCBAA.christian_at_tacc.at>
> Content-Type: text/plain; charset="Windows-1252"
>
> hi...i have on some pages the same problem.
> the answer for this is, the cookies you send are normaly not stored in the
> default cookie-folder on your local computer but in a folder specified by
> you. the next problem is, that all cookie informations you get from the
site
> are stored in a single or more file named by you.
> if you now want to "navigate" from the page you got by the use of curl to
> the next "regular" page of the site,it will look for the cookies set, when
> you navigate to it by typing in the address in the browser, and it
searches
> them in the folder specified by the page, normaly the default cookie
folder
> of the browser you use. but if you got the page by the use of curl,with
all
> cookie information stored in a file/folder defined by you, it won't find
any
> cookies on the "regular" place and therefore you are redirected back to a
> login page for example.
> my conclusion for this is:
> if you get a site with curl have to use it continuesly for all following
> pages of the site otherwise you will always be redirected to the beginning
> because of missing "regular" cookies.
>
> i hope this answers your question.and it's not too complicated...
> chris
>
> -----Ursprüngliche Nachricht-----
> Von: curl-and-php-bounces_at_cool.haxx.se
> [mailto:curl-and-php-bounces_at_cool.haxx.se]Im Auftrag von Ron
> Whiteleather
> Gesendet: Montag, 12. Juli 2004 21:38
> An: curl-and-php_at_cool.haxx.se
> Betreff: ASPX Active Directory Authentication Help
>
>
> Hi All,
>
> I have an ASPX application that I am able to login to via PHP and
> libcURL and the "home" page is returned. I also believe that it is
> passing an active directory cookie used for authentication. My problem
> is that when I try to "navigate" to the next page, I get automatically
> redirected to the login page. I believe this is because I am not
> passing the authentication information back properly as part of my
> second request but I am not clear on how to do it.
>
> Any help or suggestions would be greatly appreciated.
>
> Ron
>
>
> ---
>
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.713 / Virus Database: 469 - Release Date: 30.06.2004
>
> ---
>
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.713 / Virus Database: 469 - Release Date: 30.06.2004
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Thu, 15 Jul 2004 11:18:02 +0200 (CEST)
> From: Daniel Stenberg <daniel-curl_at_haxx.se>
> Subject: Re: php-curl on Debian
> To: using curl with PHP <curl-and-php_at_cool.haxx.se>
> Message-ID: <Pine.LNX.4.60.0407151112480.9915_at_yvahk3.pbagnpgbe.fr>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Thu, 8 Jul 2004, Paul wrote:
>
> > Can anyone point me to a newbie instruction on getting php-curl working
on
> > Debian running php 4.3.4?
>
> I would guess that 'php4-curl' is what you need.
>
> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
>
>
> ------------------------------
>
> _______________________________________________
> Curl-and-php mailing list
> Curl-and-php_at_cool.haxx.se
> http://cool.haxx.se/mailman/listinfo/curl-and-php
>
>
> End of Curl-and-php Digest, Vol 6, Issue 7
> ******************************************
>
>
Received on 2004-07-15