Pulling this idea from down south, but could you do serialize($_GLOBALS)
and then POST that to the distant site and unserialize it?

what are you trying to accomplish exactly? A Proxy?

-js


Mike MacDonald wrote:
> Hi People!
> Can anyone help with this:
> 
> 
>    Want to pick up variables passed from form in
>    PHP page and pass to distant site. Can use
>    long get, but would like to access ALL variables
>    in the PHP page and pass them forward, without
>    coding each individual one if possible
> 
> 
>                           Port 80           Port 3000
> 
>    +-WebForm-----+     +-PHP Page----+    +-DistantSite-+
>    |             |     |             |    |             |
>    |             |     |             |    |             |
>    |Form Variables------->           |    |             |
>    |             |     |             |    |             |
>    |             |     |  readfile() --------->         |
>    |             |     |             |  ^ |             |
>    |             |     |             |  | |             |
>    |             |     |             |  | |             |
>    |             |     |             |  | |             |
>    |          +---     |          +---  | |          +---
>    |          | /      |          | /   | |          | /
>    |          |/       |          |/    | |          |/
>    +-----------        +-----------     | +-----------
>                                         |
>                                         |
>                                   ------------
> 
>                                Need to on forward all
>                                variables passed from
>                                form
> 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to