----- Original Message ----- 
From: <[EMAIL PROTECTED]>

I stuffed up the order in the last post.

I don't know if PHP setcookie will send headers but this can be forced by
sending anything whatsoever.

<?php
$newcookie['pass']=md5($password);
$newcookie['user']=md5($user);
setcookie["pass", $newcookie['pass'], $time+3200);
setcookie["user", $newcookie['user'], $time+3200);
echo(' ');
// seding a space will force the headers to be transfered.
// this will also transfer the existing PC cookie to $_COOKIE[] and
// set the PC cookie value to the new value in setcookie
$oldcookie['pass']=$_COOKIE['pass'];
$oldcookie['user']=$_COOKIE['user'];
?>




Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php-list/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to