HTTP_Request redirects

From: Date: Sat, 06 Oct 2007 23:02:57 +0000
Subject: HTTP_Request redirects
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28058@lists.php.net to get a copy of this message
I have the following line $req =& new HTTP_Request($url, array('allowRedirects' => 'True', 'maxRedirects' => '1')); but when I send in the request the header response says that it a redirect by giving status 302. But the responseBody does not show the correct redirected page. Can someone give me an example of a how to capture a redirected page. Thank you Atif.

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