in reply to Cgi params as binary data

That's as clear as mud. Why don't you do this: give us 3 bytes of the binary data, and then type out exactly how you want that displayed on your webpage. Do not explain anything. Do not clarify. Do not pontificate. All your post should contain is:

1) This is 3 bytes of my binary data.

2) This is how I want it to look on my web page.