question about proxy

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
danci
Forum Newbie
Posts: 4
Joined: Tue Nov 15, 2005 4:55 am

question about proxy

Post 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
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post 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 :)
foobar
Forum Regular
Posts: 613
Joined: Wed Sep 28, 2005 10:08 am

Post 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.
danci
Forum Newbie
Posts: 4
Joined: Tue Nov 15, 2005 4:55 am

Post 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...
Post Reply