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? 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? Link to comment https://forums.phpfreaks.com/topic/185233-proxy-that-encodes-url/#findComment-977854 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.