Hi Jonathan,
> So here is a proper fix for it now:
>
> function check_php_version ($a = '0', $b = '0', $c = '0')
ok, works fine.
> function sqsession_register ($var, $name) {
> if ( !check_php_version(4,1) ) {
> global $HTTP_SESSION_VARS;
> $HTTP_SESSION_VARS["$name"] = $var;
session_register("$name" , $var);
> }
> else {
> $_SESSION["$name"] = $var;
> }
> }
>
> function sqsession_unregister ($name) {
> if ( !check_php_version(4,1) ) {
> global $HTTP_SESSION_VARS;
> unset($HTTP_SESSION_VARS["$name"]);
session_unregister("$name");
> }
> else {
> unset($_SESSION["$name"]);
> }
> }
without the session_register/unregister the wellknown error will occur...
Roland.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users