ChrisMartino Posted December 15, 2009 Share Posted December 15, 2009 Hey, Some people at my school are sick of everything being blocked so i want to build a proxy, I tried to make one but it didn't work as the url still was in the url of the proxy, So how would i code one that encodes the url too? Quote Link to comment https://forums.phpfreaks.com/topic/185233-proxy-that-encodes-url/ Share on other sites More sharing options...
Lamez Posted December 15, 2009 Share Posted December 15, 2009 Easy. Take the input URL and make a hash out of it, md5();, store it in a database with a ID, URL, and md5 column. Then use a $_GET[] variable check the table for the same URL, if not, add it. Then pull the raw URL and pass it to the proxy. Make sense? Quote Link to comment https://forums.phpfreaks.com/topic/185233-proxy-that-encodes-url/#findComment-977854 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.