RE: [PHP] Bit manipulation (newbie)
| From: | Matt Schroebel | Date: | Fri, 25 Apr 2003 18:43:47 +0000 |
| Subject: | RE: [PHP] Bit manipulation (newbie) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-145305@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Karina S [mailto:bali1a@freemail.hu]
> Sent: Friday, April 25, 2003 2:41 PM
> To: php-general@lists.php.net
> Subject: [PHP] Bit manipulation (newbie)
>
>
> Hi,
>
> I want to store user errors. I want to store it as a bit. For
> example if
> user write wrong email it sets the 2.bit to 1 and if the user
> write wrong
> password set the 3. bit to 1. Is it any good way to set and
> get the bit
> values in php?
Start here:
http://www.php.net/manual/en/language.operators.bitwise.php