RE: [PHP] Forwarding $_POST Values
| From: | tg-php at gryffyndevelopment dot com | Date: | Fri, 09 Dec 2005 19:52:52 +0000 |
| Subject: | RE: [PHP] Forwarding $_POST Values | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-227221@lists.php.net to get a copy of this message | ||
And if for some reason that's not viable, you can simulate a real POST method by using a socket
connection and manually sending the POST variables.
Take a look at this script:
http://www.flashkit.com/board/history/topic.php/384942-1.html
That looks about right (sorry, no time to test myself.. but that's the basic concept in a
nutshell).
-TG
= = = Original message = = =
>
> 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
JM
___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.