Jump to content

PHP Proxy?


Callum
 Share

Recommended Posts

I need a proxy and am fed up of being bombarded with ads using commerical proxies. How would I make a php proxy? Could someone show me how with a tutorial? Also the proxy needs to be able to view images. I am reltively new to php.

Link to comment
Share on other sites

In short, use the PHP HTTP extension. Use the request class to get the web page, and the response class to deliver it. Of course, you should alter the page along the way to fit your environment (e.g. if it's an image, change the content type of the response. Otherwise you'll give just one big text/html blob).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...