Hi People ! (Diagram below in text)
I'm interested in thoughts on how to effect the equivalent of Router 
Network Address Translation for a PHP page.

The feature that are important are:
     o Can process forms
     o Can pass images
     o Can manage relative HREFs
     o Least invasive to the end user

I've tried PHP Proxy and it works fine for basic pages but Scott 
thinks that it needs work to do forms.

Along with this I'm just wondering if we can intercept the header at a 
low
level and just simply rewrite the port  -- or is this dumb thinking?

I'd be very grateful for any thoughts or references. 

There's a piccie of what I have in mind below -- needs monospaced fonts
before it will make any sense

Thanks in advance
Mike

           Please view in a fixed-width font such as Courier.


                                               +----------------+
                                               |                |
                                               | PHP Referrer   |
                                               | (Proxy)        |
                                               |                |
                                 --------80----| Passes distant |
                  Firewall      /              | pages back to  |
                    +-+        /               | requestor      |
                    |-|       /                |                |
                    |-|      /                 | Passes form    |
                    |-|     /                  | processes forward
                    |-|    /                   +----------------+
 ------Normal  HTTP Ports /                       |
                    |-|                           |
                    |-|                  +--------+     Distant URL
                    |-|                  |
                    |-|                  |        http://distant.com/Dir
                    |-|                  |       +---------------+
                    |-|                  |       |Target Page    |
                    +-+                  |       |Images / forms |
                                         |       |               |
                                         +-3000-->               |
                                                 |               |
                                                 |               |
                                                 |               |
                                                 |               |
                                                 |          +----|
                                                 |          |  /
                                                 |          | /
                                                 +----------+/

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

Reply via email to