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

Material Issuing for receiving batch
Dear All experts in MM/ PP,

Material issuing from main stores to factory is currently usi

php/xmlrpc class issue
I am working on xml-rpc in php to start with.

I have a class that only has variables defined

how to get values from $_Post with onchange="form.submit();"?
Hi, I have a form that submit to itself with a file upload field and two other hidden field values.<

Printer configuration
Hi All,
Suppose one of the user deleted the printer settings unfortunatly ,then what is the pro

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

Undefined offset
The following script checks to see if the user answer matches the correct answer.

Form Fiel

Displaying image pathname instead of image
Hello

Im trying to upload and then display images from a mysql database - Its only basic and

Get Total From While Loop
I'm trying to get the total for each product and add them for a Grand Total to list outside the loop

socket communication between c++/java and sending image
hi,

i have a class in c++ called win32_sockserver which creates socket to java. i am trying

How to separate records and ORDER BY
Let say i have 100 records and displayed in one page, then i want to get the records from 50-100 and

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