[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] Base64 encoding of position and match ID

From: chase_bg
Subject: [Bug-gnubg] Base64 encoding of position and match ID
Date: Sat, 28 Apr 2007 02:08:15 -0400

I've written a php script which reformats the daily online match at
GammOnLine so the positions can be posted into the forums there. I'd
like to display gnu position and match IDs so users can easily set up
the positions for rollouts, but I've having trouble getting past the
base64 encoding. According to the example in the gnu manual
the starting position key is: 

11100000 01110011 11110000 00000001 00110000 11100000 01110011 11110000
00000001 00110000

which should encode to: 4HPwATDgc/ABMA.

However, php's base64_encode() function returns:


I'm inexperienced with both php and base64 encoding, so I suppose I'm
missing something, but when I read the gnu manual and the php
description of base64_encode() it sure sounds like they are talking
about the same thing. Can anyone enlighten me?



http://www.fastmail.fm - Faster than the air-speed velocity of an
                          unladen european swallow

reply via email to

[Prev in Thread] Current Thread [Next in Thread]