djkee Posted November 28, 2009 Share Posted November 28, 2009 Hello everyone, i have a website with videos and games and also provide an embed code which people can use to embed the games and videos on their website. My problem is that alot of people would embed the files but they would delete the link back to my website and bandwidth isnt cheap I have been reading for the last few hours about encoding, decoding, base64, md5 and basically a way to encrypt or encode the embed code so people can still use it but they wont be able to remove the link since they cant read what the embed code says Is there any way to do that or use different method to just hide the code but still work on other websites ? Also is there any way to make the urls to my files encoded, example: http://www.mywebsite.com/games/action/mygame.swf Encode it to look something like this: http://www.mywebsite.com/index.php?game=3475348j345h345gsed6645 (Just like the youtube urls are) I am sure its possible but i just couldn't find and examples of how its done or even a tutorial. Please someone help me, i am still learning php so i am not very good at writing my own functions :'( Link to comment https://forums.phpfreaks.com/topic/183174-help-base64-encoding-url-and-decoding-server-side/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.