Re: redirect POST
| From: | Kris Dahl | Date: | Thu, 29 Jun 2000 16:39:36 +0000 |
| Subject: | Re: redirect POST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3832@lists.php.net to get a copy of this message | ||
on 6/28/00 5:28 PM, rick - SomersNet, Inc. at rick@somers.net wrote:
> Hello,
>
> I have a client that uses iBill to process credit cards for his site we
> are designing. However iBill requires the link to the signup form be a
> POST method submit button. So what I want to do is create a simple
> script that will allow set values to be redirected as a POST method to
> iBill's secure signup form..
>
> So far I have found many ways (like PostToHost) that allow me to post
> and get data back, but not post and take (redirect) me there.. so
> instead I end up staying on thesite.com/test.php instead of going to
> secure.ibill.com/signup.exe
You could always pass through the response to the end-user.
I.e. read the response from iBill and display it with test.php.
But if you want to redirect to that site, why don't you just use a hidden
form or something? I'm not sure I understand why you need to post and get
the data back if you want to send the user to the site.
-k