RE: [PHP] sending a hex string as it is?

2004-01-29 Thread Khoa Nguyen
$var as a string. Maybe I am looking for a function that will sends a data stream as it is Thanks, Khoa -Original Message- From: David 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

RE: [PHP] sending a hex string as it is?

2004-01-29 Thread Gryffyn, Trevor
. -TG -Original Message- From: Khoa Nguyen [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 8:51 AM To: David OBrien; [EMAIL PROTECTED] Subject: RE: [PHP] sending a hex string as it is? I guess I confused the matter by mentioning hex. The problem is the same

Re: [PHP] sending a hex string as it is?

2004-01-29 Thread DvDmanDT
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: [PHP] sending a hex string as it is? I guess I confused the matter

RE: [PHP] sending a hex string as it is?

2004-01-29 Thread Gryffyn, Trevor
to know. And PHP has so many functions (I'm constantly amazed that it usually has a function for whatever I need). -TG -Original Message- From: DvDmanDT [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 6:58 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] sending a hex string

Re: [PHP] sending a hex string as it is?

2004-01-28 Thread David OBrien
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

RE: [PHP] sending a hex string as it is?

2004-01-28 Thread Khoa Nguyen
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 = 0x8180; How do I send $var to the browser as it is? In other words, if sniffing

Re: [PHP] sending a hex string as it is?

2004-01-28 Thread DvDmanDT
] 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 http://www.php.net/manual/en/function.strval.php would work

RE: [PHP] sending a hex string as it is?

2004-01-28 Thread David OBrien
of 16 -Dave ? In 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