>>>>> "Marek" == Marek Kilimajer <[EMAIL PROTECTED]> writes:
>>>>> "Kris" == Kris Yates writes:
Marek> You can do it this way:
Marek> <form action="https://www.fake.com/fake.php">
Marek> <input type="hidden" name="item" value="<?= $item ?>">
Marek> <input type="submit">
Marek> </form>
Actually, I think that if you do it this way, someone will have to
click on the submit button. If you want to redirect with a post, then
look in to using the CURL library.
Marek> Kris Yates wrote:
Kris> Currently, I am posting via GET to third party server as seen below:
Kris> $item=urlencode($item);
Kris> header("Location: https://www.fake.com/fake.php?item=$item");
Kris> I want to reconfigure my header calls to POST instead of using GET
Kris> for sending $item to third party server. Is this doable?
Kris> Thank you,
Kris> Kris
Kris>
--
no toll on the internet; there are paths of many kinds;
whoever passes this portal will travel freely in the world
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php