This turns out to be a tougher problem than I thought.
The yabbse code is written in PHP, the PET script in Perl.
The new yabbse version scrambles the username and password and send it to the user in a cookie. I found this line in the yabbse code that looks like the one that unscrambles the cookie:
The $_COOKIE[$cookiename] variable looks something like this:
list($username, $password) = @unserialize(stripslashes($_COOKIE[$cookiename]));
which is the value of the scrambled cookie.
Now both unserialize and stripslashes are built-in PHP functions. To get the PET script working again I need to get the $username variable somehow. The question is is there an equivalent function in Perl for both unserialize and stripslashes or can a little PHP script written to unscramble the cookie and pass the value of $username to the PET script?
PHP gurus please help me out ...