> You're probably going to have to open a binary connection to whatever
> you're doing.
>
> Look into "socket_create()"
>
> Sounds like you need something a little more low-level than
> what you're
> using.
>
> -TG
>
> > -Original M
You're probably going to have to open a binary connection to whatever
you're doing.
Look into "socket_create()"
Sounds like you need something a little more low-level than what you're
using.
-TG
> -Original Message-----
> From: Khoa Nguyen [mailto:[EMAIL PROTECT
;socket_create()"
Sounds like you need something a little more low-level than what you're
using.
-TG
> -Original Message-
> From: Khoa Nguyen [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 29, 2004 8:51 AM
> To: David OBrien; [EMAIL PROTECTED]
> Subject: RE:
vid OBrien [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 3:25 PM
To: Khoa Nguyen
Subject: RE: [PHP] sending a hex string as it is?
Also
http://www.php.net/manual/en/function.sprintf.php
has provisions for using hex and octal numbers
-dave
At 02:17 PM 1/28/2004, you wrote:
>Thanks
) on the wire :-(
Any ideas?
Khoa
-Original Message-
From: David OBrien [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 2:08 PM
To: Khoa Nguyen; [EMAIL PROTECTED]
Subject: Re: [PHP] sending a hex string as it is?
At 02:03 PM 1/28/2004, Khoa Nguyen wrote:
>$var = 0x818
n both cases, I see 3136 (ASCII encoded of string "16") on the wire :-(
Any ideas?
Khoa
-Original Message-
From: David OBrien [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 2:08 PM
To: Khoa Nguyen; [EMAIL PROTECTED]
Subject: Re: [PHP] sending a hex string as it is?
Nguyen; [EMAIL PROTECTED]
Subject: Re: [PHP] sending a hex string as it is?
At 02:03 PM 1/28/2004, Khoa Nguyen wrote:
>$var = 0x8180;
>
>How do I send $var to the browser as it is? In other words, if sniffing
>on the wire, I should see 8180, not 38 31 38 30.
I think
h
At 02:03 PM 1/28/2004, Khoa Nguyen wrote:
$var = 0x8180;
How do I send $var to the browser as it is? In other words, if sniffing on
the wire, I should see 8180, not 38 31 38 30.
I think
http://www.php.net/manual/en/function.strval.php
would work here
-Dave
Thanks for your help.
Khoa
--
PHP Gene
$var = 0x8180;
How do I send $var to the browser as it is? In other words, if sniffing on
the wire, I should see 8180, not 38 31 38 30.
Thanks for your help.
Khoa
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
9 matches
Mail list logo