Current location: Hot Scripts Forums » Programming Languages » PHP » base64


base64

Reply
  #1 (permalink)  
Old 03-05-07, 08:32 AM
txt3rob txt3rob is offline
Newbie Coder
 
Join Date: Sep 2006
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation base64

i have
PHP Code:

PGEgaHJlZj0iaHR0cDovL21wdXNoLnR4dG5hdGlvbi5jb20vcmVxLnBocD9hY2NvdW50PWZyZWVm

b25lc3R1ZmYmaW1hZ2U9Jy4kY29uZmlnWyJiYXNldXJsIl0uJ2ltYWdlcy8nLiRyb3dbInBhdGgi
XS4nIiB0YXJnZXQ9Il9ibGFuayI

this base64 algorithm

which =

PHP Code:

<a href="http://mpush.txtnation.com/req.php?account=freefonestuff&image='.$config["baseurl"].'images/'.$row["path"].'" target="_blank"

i want to give my friend a script with that in but i dont want him to undo the code there how could i give him a script with that encrpted?

cheers
__________________
N00b Coder! One of those guys who collects bits of code and puts them together and carnt really code for himself
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 03-05-07, 08:41 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,074
Thanks: 11
Thanked 88 Times in 83 Posts
What would he do with that if he can't decode it?

Do you want it to be decodable at all? If not, you could md5() the string and current date or something.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 03-05-07, 08:44 AM
txt3rob txt3rob is offline
Newbie Coder
 
Join Date: Sep 2006
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
just need it so when looking thru the code there is no mpush but when you view the site there is the link there
__________________
N00b Coder! One of those guys who collects bits of code and puts them together and carnt really code for himself
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 03-05-07, 11:32 AM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Quote:
Originally Posted by txt3rob View Post
just need it so when looking thru the code there is no mpush but when you view the site there is the link there
It's not hard to unbutton Base-64 encoding....I wouldn't rely on it to keep your code or data secret, if that's your intent.
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 03-05-07, 11:36 AM
txt3rob txt3rob is offline
Newbie Coder
 
Join Date: Sep 2006
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
its ok it doesnt have to be super secure it just has to be not a obviouse url
__________________
N00b Coder! One of those guys who collects bits of code and puts them together and carnt really code for himself
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 08:36 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.