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
53
Other forums
Simple MySQL query...
Hello,
How could I do a mysql query that does this: SELECT * WHERE date/time < 5minutes ag
Can you help please? Php file
I have to write this php file to allow users to register their nicknames on nickserv
For an I
Select Lists into MYSQL
Hello All, I am new to PHP @ 1 week. So borrowing code anywhere I can. I am making progress, but h
insert quotes
Hi,
I have an output like this:
Code: john,18,Cancer
How can I change this to
Code:
Doubles are giving me problems
Ok so, first of all i made a double = 0.05, but when running the debugger it shows up as 0.04999. I
re calling a function without including file
Hi,
i am new to programming in php, i was just checking the wordpress code and found out in the w
PHP & Java
Hello,
can PHP code be used inside java code?
Code: <SCRIPT LANGUAGE="Java
php form help
Hey,
I use a control file to set my meta tags and titles
Here's an example
Code: &a
get url?
how do i get the url of the page i'm currently on, on my website.. i think its get header.. how do i
Basic Forum Tutorial
Hi, I'm new to PHP. I want to build a basic forum for my site using PHP and MySQL. I've searched t