Re: Understanding pack() and unpack()

From: Date: Sat, 01 Jul 2000 22:37:00 +0000
Subject: Re: Understanding pack() and unpack()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4314@lists.php.net to get a copy of this message
In article <637C00F0303AD311BCCC009027887A7C420D39@tiger.wild.net>, Chris.Boget@wild.net ("Boget, Chris") wrote: > I'm trying to understand the pack() and unpack() > functions because I think they might be of some > use to me. However, I'm not able to get it to work > right. I either get an error message saying that I've > too few parameters to the pack() function or I'm > getting nothing from the unpack function. Here is > my test code: It might help to display what the results of pack() are, and work through it byte by byte to see if it's what you would expect... If you're doing this just to get legit useful URLs, see URLEncode(). -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#4314) next »