Jump to content

PHP Proxy?

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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...