Hi Every one,

I have a perl script which uses the following code to decode the username saved in a cookie. I want to parse that cookie in php for adding some more features in the application. The source application in perl but I don't know any thing about perl. Here is the code ...

Code:
@table = (('A' .. 'Z'), ('a' .. 'z'), ('0' .. '9'), '+', '/', '|');
for ($_ = 0; $_ <= $#table; $_++) {
$decode_table[ord($table[$_])]
...