Here is a script i just wrote after reading your post to get the "user cp" page on this forum, it sends cookies with a http request.
<pre>
<?php
$cookies = array(
'bbuserid' => 'useridhere',
'bbpassword' => md5('yourpassword')
);
$host = 'www.phpbuilder.com';
$get = '/board/usercp.php';
$fp = fsockopen($host, 80);
if($fp) {
$request = "GET $get HTTP/1.0\r\n";
$request .= "Host: $host\r\n";
if(sizeof($cookies)) {
$c = array();
$request .= 'Cookie: ';
foreach($cookies as $k=>$v) {
$c[] = "$k=$v";
}
$request .= implode('; ', $c);
$request .= "\r\n";
}
$request .= "\r\n";
if(fputs($fp, $request)) {
$head = '';
while(!strstr($head, "\r\n\r\n")) {
$line = fgets($fp, 4096);
$head .= $line;
list($k,$v) = explode(': ', $line);
if(strtolower($k) == 'content-length') {
$content_length = (int)trim($v);
}
}
// now you have the body !!
$body = fread($fp, $content_length);
} else {
print 'error: could not write';
}
fclose($fp);
} else {
print 'error: could not connect';
}
?>
</pre>
if you want to log into a differnt board system you can find out the cookie names it uses from your temporary internet files. Then set the variables at the top of this script.
Hope this helps!