Re: pack it in

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Lynch schreef:
On Thu, January 24, 2008 5:20 pm, Jochem Maas wrote:
someone asked about checksum values in another thread, I believe
he got his answer no thanks to me. but whilst I was trying to help
I got stuck playing with pack/unpack.

so now I have the broadbrush question of what would one use
pack/unpack for? can anyone point at some realworld examples/code that
might help me broaden my horizons?

Reading a "binary" file with various bytes/bits that need to get
converted to integers for you to do something useful with them.

ok. that's where my brain goes to mush - all strings in php (for now)
are binary ... what's the difference between the binary strings
in php and such found in these 'binary files' that they need to be
packed/unpacked?

sorry if I'm sounding retarded ... I probably am :-/


Ditty for writing said file.


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux