Thread: Encode/Decode
View Single Post
  #2  
Old 11-21-2007, 06:27 AM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
Quote:
Originally Posted by bscharff View Post
I'm developing an advanced rights system to help kill abuse on my server.

Using base64encode("bscharff"), the encoding translates to 'YnNjaGFyZmY=' (notice it ends with a '=')

As everyone knows (hopefully), to assign variables to something, you use an equals sign. Therefor, I cannot save with base64 encoding.

Is there any other encoding available in GS2 other than base64?
PHP Code:
string "="
Umm... As long as the '=' is in quotes, it shouldn't be a problem.
Reply With Quote