Monday 15 June 2015

suitable output of hexdump in bash to be input of hex2bin function in php -


A simple matter, what is the appropriate output for Bash to make it appropriate for the function to be an input Essential options) in php!
PS: I am using it to stream the certificate (created by the OpenSSL command) through the web service.
I updated PHP for 5.4.0 & amp; I am using Santos 6

hexdump-A '1/1 "% 02x '' ' does the trick.

In order to avoid additional reliance on PS HexDump binary, you may want to consider using it for php and writing a short loop from stdin and writing it through bin2hex ().

No comments:

Post a Comment