Help, Base64 encoding url and decoding server side.


Posted on 16th Feb 2014 07:03 pm by admin

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

No comments posted yet

Your Answer:

Login to answer
52 Like 53 Dislike
Previous forums Next forums
Other forums

Consuming MII WebService in Java WebDynpro
Hello,

We are facing a strange situation...

We define a transaction in MII to

Ajax not working on IE 6 for Windows CE
I've created a webpage which uses the classis Ajax in following format:view plaincopy to clipboardpr

please hep to get values from a table row
can anyone tel me how I can select and get data from one row by pressing an Edit button in that row

How to get all server headers like Live http Headers does
Hey all, like many of you I use the Firefox addon "Live http Headers". I'm trying to write

Word Trimming
Hi Guys & Gals!!

Hope you are all ok....

I need some help with the following

Need some ideas as to how to go about sorting this array...
Here's how the array's are created..

Code: <?php
while ($x = readdir($dp)) {

PHP/Database issue
My friend is helping me make a database where you go to a certain webpage of my site and the page wi

Parse error: syntax error, unexpected $end in
hello,
i receive the error :Parse error: syntax error, unexpected $end in C:xamppxampphtdocsh

why this query can delete duplicates ?
why this query can delete duplicates ? Anybody can give me the detailed explanation ?

Tha

Query output more than expected
$query=mysql_query("SELECT * FROM players, communities, divisions WHERE dob BETWEEN '{$start_da

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash