[Phpmyadmin-devel] [PATCH] Add $cfg['ProtectBinary'] = 'hex' feature

Kornél Pál kornelpal at gmail.com
Mon Mar 5 00:16:31 CET 2007


Hi,

For some toughts about binary field handling of phpMyAdmin see:
http://sourceforge.net/tracker/index.php?func=detail&aid=1611770&group_id=23067&atid=377411

This patch implements a $cfg['ProtectBinary'] = 'hex' setting that makes 
phpMyAdmin handle BINARY and BLOB fields in hex.

Note that I recommend to use the $GLOBALS['cfg']['ProtectBinary'] === 'hex' 
code paths in common.lib.php anyway instead of using 
$GLOBALS['cfg']['ProtectBinary'] === 'hex'.

If you like this patch please apply it to the SVN otherwise comments are 
welcome.

Kornél 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: protectbinary_hex.diff
Type: application/octet-stream
Size: 11660 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20070305/c1e93a02/attachment.obj>


More information about the Developers mailing list