Re: converting GET to POST

From: Date: Thu, 16 Oct 2003 21:23:49 +0000
Subject: Re: converting GET to POST
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-166354@lists.php.net to get a copy of this message
You can do it this way: <form action="https://www.fake.com/fake.php"> <input type="hidden" name="item" value="<?= $item ?>"> <input type="submit"> </form> Kris Yates wrote:
Currently, I am posting via GET to third party server as seen below: $item=urlencode($item); header("Location: https://www.fake.com/fake.php?item=$item"); I want to reconfigure my header calls to POST instead of using GET for sending $item to third party server. Is this doable? Thank you, Kris


« previous php.general (#166354) next »