Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001092

Re: [PHP] interesting warning!!! From: * R&zE: (renze <email protected>)
Date: 09/20/01

<Original message>
From: Balaji Ankem <balaji.ankem <email protected>>
Date: Thu, Sep 20, 2001 at 01:11:59PM +0500
Message-ID: <1be9b51bf877.1bf8771be9b5 <email protected>>
Subject: [PHP] interesting warning!!!

> Hi,friend,
>
> i registered login info while login using session_register
>
> session_register("user","pw");
>
> -----------
> and during logout i have unregistered like following..
>
> session_unregister("user","pw");
>
> This is the warning i got after logout..
>
> Warning: Wrong parameter count for session_unregister() in
> /www/imac/logout.php on line 4
>
> Thanks and Regards
> -Balaji Ankem

</Original message>

<Reply>

Hai Balaji!

Thx for the warning!? It's actually exactly like in the manual
pages:

bool session_register (mixed name [, mixed ...])
                       ^^^^^
and
bool session_unregister (string name)
                         ^^^^^^

:)

</Reply>

-- 

* R&zE:

-- »»»»»»»»»»»»»»»»»»»»»»»» -- Renze Munnik -- DataLink BV -- -- E: renze <email protected> -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- ««««««««««««««««««««««««

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>