Page 1 of 1

question about proxy

Posted: Tue Nov 15, 2005 5:13 am
by danci
Hi all :)

I have one question about web proxy and how to do that.

I have list of proxyes in database.

When user input url adress in textbox on my page and click surf anonymously, i read proxy and I want to make request thru proxy. How to do that?

Any idea?

I want functionality like .http://anonymouse.org/anonwww.html

Posted: Tue Nov 15, 2005 5:20 am
by timvw
1-) All you need to do is write the http request to the proxy.

I'm pretty sure curl allows you to specify a proxy that should be used. Other libraries will also allow you this.

2-) You read the response and display it to the user.

3-) Done :)

Posted: Tue Nov 15, 2005 5:20 am
by foobar
I don't think they're using a proxy per se, simply their own server. Look at the links. All they did was add the following to the <head> tag:

Code: Select all

<base href="http://Anonymouse.org/cgi-bin/anon-www.cgi/http://www.yahoo.com/_ylh=X3oDMTFmZnNpcXVxBF9TAzI3MTYxNDkEcGlkAzExMzIwNTI0MDEEdGVzdAMwBHRtcGwDaW5kZXgtdGJs/" target=_top>
Why not do the same? ;)

You might find preg_replace() and PCRE Syntax useful for this.

Posted: Tue Nov 15, 2005 5:24 am
by danci
I think, anon use proxy because on rapidshare downloads work... But I see only two proxy. I have a list of a lot working proxies...