Re: HTTP_Request redirects

From: Date: Sun, 07 Oct 2007 13:01:48 +0000
Subject: Re: HTTP_Request redirects
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28061@lists.php.net to get a copy of this message
Atif Khan wrote:
I have the following line $req =& new HTTP_Request($url, array('allowRedirects' => 'True', 'maxRedirects' => '1'));
I think that should be: 'allowRedirects' => TRUE, (boolean, not a string) brian

« previous php.pear.general (#28061) next »