Re: Forwarding $_POST Values
| From: | Bernhard Janetzki | Date: | Fri, 09 Dec 2005 19:40:55 +0000 |
| Subject: | Re: Forwarding $_POST Values | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-227220@lists.php.net to get a copy of this message | ||
On Friday 09 December 2005 20:31, Jim Moseby wrote:
> > I have a server with all my clients websites on. However I
> > have some clients
> > who have their own servers. I want to be able to have a form
> > on my site that
> > allows users to log into their webmail, however if the client
> > has their own
> > server I need to forward the $_POST values to a login script
> > on a different
> > server, is this possible?
>
> I don't see why not. Set your form
> action=http://their.server.com/loginscript.php
It's also possible to perform an POST request.
You have to use fsockopen an some HTTP Requests.
Greets Boerni