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
dynamic table with forms
I have a table that is populated with mysql data and in teh first column there is a raido button tha
Add_Months not Easy to Understand
Oracle is number 1, very fast and very easy. But....
OK, I think but have a problem, only 1 pro
Logging and nologging bulk insert
Hi,
oracle version: 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
This is driving me nuts!
This insert query looks to be alright, however I get this error:
QuoteYou have an error in yo
email form (cannot find the problem)
Hello there. I've been having trouble with an email form. Can't find the problem really. I've tested
Run function every 5 mins ??
I have a function PostMessage()
How can I run it every 5 mins ??
PHP MySQL and DATE
Hi everyone
I have a databse and in one of the columns I have date values such as 2009-March-
help with contest script
I would like to code a contest script to my site but i don't know how. Could someone just give me pu
Using unserialize()
Hi there.
I have some data in my database that is serialized.
e.g.
a:2:{i:0
help need on ob_start()
Hi
I am a newbie in php, I have a code
Line number On/Off | Expand/Contract <?phpo