Hi,
I need to use a PHP app as a sort of a web proxy
To be more specific:
I have a mailserver with own web server and web interface. What want it to
be able to dynamically change its output pages (but I cannot interface
directly PHP with its web browser)
So, suppose the web mail server runs on
http://www.webserver.com
and I have my site at
http://www.myphpserver.com
What I need is user to connect to
http://www.myphpserver.com/webserver/index.htm, and when my PHP webserver
receive this request, it will request the page from
http://www.webserver.com/index.htm. Then it will make some processing on the
returned HTML page (like changing CSS, adding banners, rewrite form's Action
parameter, etc), and will return this page to client.
When client will post a page (like clicking on a submit button), my php page
will receive it, and pass it to original action URL together with all
POST-ed data
Any thoughts how t do this?
Thanks,
Bogdan