--- Kris Yates [EMAIL PROTECTED] 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
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:
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
Lee Doolan wrote:
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
Lee Doolan wrote:
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.
Kris wants to redirect the user so CURL library would not work for this.
--
PHP General Mailing List
5 matches
Mail list logo