Re: [PHP] Re: Binary mah

2004-06-11 Thread Knightking
On Thu, 10 Jun 2004 20:08:08 -0700, Justin Patrin  
[EMAIL PROTECTED] wrote:

Mark wrote:
[snip]
I'm not sure what's wrong with the code you have, but for the 4-digit  
one you have:

$packed = 4-bit var with ABCD encoded in it
$a = $packed  1;
$b = $packed  2;
$c = $packed  4;
$d = $packed  8;
Just as a side tip, I highly recommend using hexadecimal for bitwise  
functions where possible, i.e.:
$a = $packed  0x1;
$b = $packed  0x2;
$c = $packed  0x4;
$d = $packed  0x8;
$e = $packed  0x10;
$f = $packed  0x20;
$g = $packed  0x40;
$h = $packed  0x80;
$i = $packed  0x100;

Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] [OFF] - Transparency in DHTML layers?

2004-06-07 Thread Knightking
On Tue, 8 Jun 2004 06:17:34 +0800, Jason Wong [EMAIL PROTECTED]  
wrote:

On Tuesday 08 June 2004 05:51, Marek Kilimajer wrote:
Semitransparent PNGs, but that does not work in IE
http://www.petitiononline.com/msiepng/petition.html
What's the point? MS has already killed Netscape, they aren't going to  
improve
IE anymore than necessary.

There are browsers other than IE and Netscape.
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] generating graphs

2004-06-05 Thread Knightking
On Sat, 5 Jun 2004 19:31:34 +0530, Nitin [EMAIL PROTECTED] wrote:
thanks for the help, but my PHP ver is 4.0.6...
Any other suggestions??
?php
$values = array(50, 80, 23, 74);
$total = 227;
echo 'div style=width:100px'
foreach($values as $v)
	echo 'div style=width:' . $v / $total * 100 . 'px; background-color :  
red/div';
echo '/div

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


Re: [PHP] Prevent IE6 from blocking cookies

2004-06-05 Thread Knightking
On Sat, 5 Jun 2004 12:55:01 -0300, Robert Winter [EMAIL PROTECTED]  
wrote:

Do I a prevent Internet Explorer 6 from blocking cookies (session  
cookies,
etc)? Do I have to setup something in the  META HEADERS?

Thanks
Robert
header('P3P: CP=NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM');
Won't get aroung cookies just being off, but it lowers the chance of the  
privacy settings nuking your cookies.

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


[PHP] RE:[PHP] Notify about your e-mail account utilization.

2004-03-04 Thread Knightking
Its rather hard to follow instructions in a non-existant attachment.

--
-Knightking
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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