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


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to