RE: [PHP] newbie: redirecting a POSTed form
| From: | Jonathan Rosenberg | Date: | Wed, 29 May 2002 14:25:19 +0000 |
| Subject: | RE: [PHP] newbie: redirecting a POSTed form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99744@lists.php.net to get a copy of this message | ||
I think the CURL library
(http://www.php.net/manual/en/ref.curl.php) is your best bet for
doing this, since you must need SSL (you mentioned credit card
authorization).
If the CURL library isn't compiled with your version of PHP, you
could use the CURL executable & invoke it with exec.
> -----Original Message-----
> From: PeterV [mailto:peter@poorbuthappy.com]
> Sent: Tuesday, May 28, 2002 9:55 PM
> To: php-general@lists.php.net
> Subject: [PHP] newbie: redirecting a POSTed form
>
>
> Hi,
> I have to redirect a POSTed form, ie. a form gets
> posted to my PHP page,
> and I then do some database stuff and then redirect it
> to another site. I
> know of header("http://othersite.com"); to redirect a
> simple URL request,
> but how can I redirect a post with a bunch of form
> fields in it? I don't
> think I am allowed to use GET for this (it's a credit
> card authorization
> provider).
>
> Thanks for any tips, I'm a bit baffled by this..
> Peter
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>