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
Did you know?Explore Trending and Topic pages for more stories like this.

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

download directory onto C drive
I am attempting (if this is possible) to write a routine to automatically dump the contents of a dir

How to Detect it is public_html or httpdocs?
How to check whether it is cPanel or Plesk?

If it found public_html perform <?php incl

Remove letter from numeric textbox
I have a textbox that will search the employee database by entering in the employee ID and it will r

Local file browser with php
Halo..

So this is what i want to create. I have a folder that i share and it has many movies.

mysql select query problem
how can i select multiple fields from multiple table in one query like

i have table name t1 a

Help to integrate whois Domain Details to website
Hi,

can i know is their any php script r methods to add domain details to my website.

Insert to MySQL inside foreach
Hey.
I am parsing some html, and putting inside an html db.
I need to create a randomized inte

Escape Latin Characters
I need to escape latin characters in an xml doc. Example: "é" is escaped to "é". I thoug

Add trigger to UpdatePanel programmatically
Hi,I'm working on a website which uses AJAX and Masterpages. What I have is an AJAX UpdatePanel whi

Merger of 6 sister companies under one flagship company after go live
Dear Experts,
I need one help regarding Merger of sister companies of same group. currently we

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