curl-and-php
RE: HTTP post with PHP & CURL using basic authentication andfollowingredirect
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 22 Mar 2001 20:04:59 +0100 (MET)
Date: Thu, 22 Mar 2001 20:04:59 +0100 (MET)
On Thu, 22 Mar 2001, Edin Kadribasic wrote:
> I get the following output:
Is that a redirect-loop?
If that's so, the command line client sets the CURLOPT_MAXREDIRS to 50 unless
anything else is set (set a lower value with --max-redirs).
libcurl sets no default limit and unless the PHP/CURL glue layer does this,
the PHP curl module won't have any maximum redirect limit and will continue
forever!
-- Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/ _______________________________________________ Curl-and-php mailing list Curl-and-php_at_lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/curl-and-phpReceived on 2001-03-22