Re: Is it possible to send POST vars through a header redirect?

From: Date: Tue, 03 Feb 2009 22:54:47 +0000
Subject: Re: Is it possible to send POST vars through a header redirect?
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-287587@lists.php.net to get a copy of this message
TS wrote: > I'm trying to send vars via POST somehow. Is this possible? > > Currently I'm doing > > header("Location: http://domain/index.php?var=3"); > > but, want to send POST or some other method that doesn't stick with the session. > > Thanks, T > > No, it is not possible. You will need to look into cURL or something else. But it cannot be done via the header() function. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare

« previous php.general (#287587) next »