View Single Post
  #1  
Old 04-22-2006, 12:19 PM
Fwks08 Fwks08 is offline
Member
GB Advanced User
 
Join Date: Apr 2006
Posts: 95
Send a message via AIM to Fwks08 Send a message via MSN to Fwks08
Default Encoding & Decoding

Is there an easy way to encode and then decode a string in PHP? It's probably base64, but I'd like to add a custom string to make it un-decodable without the string. I hope I haven't lost anyone.



Quote:
eg,

$code = 'encode me';

$str = base64_encode("blah".$code);


How would I decode that?
Reply With Quote