Re: [PHP] converting GET to POST

2003-10-16 Thread Chris Shiflett
--- 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

Re: [PHP] converting GET to POST

2003-10-16 Thread Marek Kilimajer
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:

Re: [PHP] converting GET to POST

2003-10-16 Thread Lee Doolan
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

Re: [PHP] converting GET to POST

2003-10-16 Thread John Nichel
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

Re: [PHP] converting GET to POST

2003-10-16 Thread Marek Kilimajer
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