crosti wrote:
> Does anybody know how can I implement php pack() function in MySQL
> database (in stored procedure)?
>
> pack("H*",md5($string))
>
> http://us2.php.net/manual/sk/function.pack.php
>
> Thanks in advance,
> Max
>
use PHP to create the "string" and store it in the database as VARCHAR data.
Something a bit more difficult would be to implement a UDP (user defined
procedure) - but it is programmed (c/c++), not scripted (php,perl, etc).
see:
http://mysql.meetup.com/137/boards/v...thread=2280640
and
http://dev.mysql.com/doc/refman/5.1/...ing-mysql.html
--
Michael Austin.
Database Consultant