Computer Forums

Computer Forums (http://www.geekboards.com/forums/index.php)
-   Building Websites (http://www.geekboards.com/forums/forumdisplay.php?f=3)
-   -   Encoding & Decoding (http://www.geekboards.com/forums/showthread.php?t=83)

Fwks08 04-22-2006 12:19 PM

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?


All times are GMT -5. The time now is 10:51 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
HTML Help provided by HTML Help Central.