Page 1 of 1

Create a Proxy

Posted: Wed Oct 10, 2007 6:59 pm
by Chalks
I was wondering if someone could point me in the right direction to create a proxy on my server. I'm planning on using it for my own personal use, so it will be password protected. I found a few scripts online that I could download, but I'd rather write my own. I tried examining the source code that I found, but it was rather confusing as it had very little spacing... hard for me (as a newbie php programmer) to decipher. So, I have no idea where to start, really. Any functions I should look at in particular?

Thanks guys. :)

Posted: Wed Oct 10, 2007 7:01 pm
by feyd
cURL, Snoopy, fsockopen() and friends...

preg_replace() for url's. Hope you don't need to parse Javascript generated urls.

Posted: Thu Oct 11, 2007 9:14 am
by Chalks
Ah, thanks feyd. :)

and no, I don't. This is just for letting me play my games while I'm at work. It's the American Dream!

Posted: Thu Oct 11, 2007 9:29 am
by feyd
You may be interested in a piece of code I posted for Heavy. Search Heavy's posts, not mine. ;) It wasn't on proxies, per se, but on source code browsing, if memory serves.