Topic: Integration with java (punbb_setcookie)

Hi all,

I want to integrate the punbb forum we're using with the main part of our website, which is written in java.

My php knowledge is pretty much non existing, does someone know how to write this php part line in java?

setcookie($cookie_name, serialize(array($user_id, md5($cookie_seed.$password_hash))), $expire, $cookie_path, $cookie_domain, $cookie_secure);

The SHA1 hash of the users password is available, so is the user_id, but what is the cookie_seed? And how does one write serialize(array(...)) in java?

Any help is highly appreciated. : )

Re: Integration with java (punbb_setcookie)

The cookie seed is in config.php.

Looking for a certain modification for your forum? Please take a look here before posting.