PHP as a proxy to get intranet content

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hedge
Forum Contributor
Posts: 234
Joined: Fri Aug 30, 2002 10:19 am
Location: Calgary, AB, Canada

PHP as a proxy to get intranet content

Post by hedge »

I need to provide content to the external site that comes from internal intranet web servers. These are mostly webservers in hardwired devices such as PLC's.

I have done this on a smaller scale by:
1. opening socket
2. sending http request
3. getting response
4. splitting headers from content
5. sending headers and content back to browser

This new requirement is more invoved though, with activex objects, username/password challenges etc.

Is there a tool out there that can handle this?

thks for any help.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

not quite sure but maybe a reverse proxy is suitable
Post Reply