« Return to Thread: Pack function in C#

Re: Pack function in C#

by Per Jessen :: Rate this Message:

Reply to Author | View in Thread

Symbian wrote:

>
> hello,
>
> Our PHP dev (who has since left) uses the pack function to turn a
> base64 string into a binary blob (?):
>
> $blob = pack("H*", $postBase64Data);
>
> Does anyone know what the above is doing?

Doesn't the manual tell you:

http://www.php.net/manual/en/function.pack.php


/Per Jessen, Zürich

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

 « Return to Thread: Pack function in C#