Just to post this information for any other PHP newbies trying to work this out...

UBB creates the cookie name with a period in it but PHP converts this to an underscore when you try to read this value. You need to use something like this...

echo ($ubber1234567_8901);