News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

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

Mohammed Berdai's Blog: How To Install PostgreSQL And phpPgAdmin Support In XAMPP

SitePoint PHP Blog: Image Scraping with Symfony's DomCrawler

Shahar Evron's Blog: Adapters of the new Zend_Http_Client

DevBuilder: Building XML Web Services with PHP NuSOAP

DevShed: Managing Secure Protocol in Apache-Based Websites using PHP


Community Events





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


community deployment release tips zendserver threedevsandamaybe podcast language introduction code series laravel list framework interview conference symfony developer bugfix api

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