News Feed
Jobs Feed
Sections




News Archive
Brian Snugg's Blog:
Reverse Proxy in PHP5
December 11, 2008 @ 11:14:03

Brian Snugg has two new posts relating to his script for a reverse proxy in PHP5. The first lays the foundation, the second makes some updates to make it a bit more efficient.

So I have been working on a little class to run a reverse proxy from PHP using cURL. I have extended this class for my own purposes (single-sign-on) to handle some special request parameters, but here it is. It has some warts, but it's a good starting point.

He creates the ProxyHandler class in the first post and in the second updates the script to pass a more correct version of the headers to the proxy server to get a better response back.

1 comment voice your opinion now!
reverse proxy php5 tutorial curl header


blog comments powered by Disqus

Similar Posts

Henri Bergius's Blog: MidCOM on PHP5, finally

Limitless Studios: Determine Number Of Online Users Without A Database

Script-Tutorials.com: Creating a Smooth Curve Graphs with PHP and GD

EasyPHPWebsites.com: Gluing jQuery and PHP Together with JSON

PHPMaster.com: Introduction to Git, Part 1


Community Events











Don't see your event here?
Let us know!


conference series rest community interview functional symfony2 development opinion phpunit framework testing introduction podcast language zendframework2 release unittest usergroup database

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework