Re: Curl redirection problem.

From: Date: Thu, 06 Sep 2007 08:17:36 +0000
Subject: Re: Curl redirection problem.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-261765@lists.php.net to get a copy of this message
Chris wrote:
Basically I want to redirect to: http://www.website.org/index.php after logging in using curl.
Curl won't redirect you, you have to do it. header('Location: http://www.website.org');
But bear in mind that any cookies you've set up with curl will not be there when you redirect the client since they're in your cookie jar not on the clients machine, so if you're trying to do what I think you're trying to do it won't work. -Stut -- http://stut.net/

« previous php.general (#261765) next »