This is a discussion on php pack() function in MySQL within the MySQL forums, part of the Database Server Software category; --> 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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| ||||
| 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 |
| Thread Tools | |
| Display Modes | |
|
|