"Dre" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>  session_register('uname');
>  $_SESSION['uname'] = $username;

Hi Dre,

Nick already answered your question so just a short note:
you should not use session_register() with your PHP version anymore, so just
delete the first of the upper two lines.

Excerpt from the manual:

>>>
Caution
If you are using $_SESSION (or $HTTP_SESSION_VARS), do not use
session_register(), session_is_registered(), and session_unregister().
<<<

Regards, Torsten Roehr

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to