View Single Post
Old 10-06-2007, 01:30 PM  
neoxed
Too much time...
 
Join Date: May 2003
Posts: 1,326
Default

I guess my subtle hint wasn't blatant enough.

Quote:
Originally Posted by neoxed View Post
If you want to create/rename/delete/change a user or group, it's best you do it through ioFTPD - not with the database directly.
You should never access the database directly. You can just as easily use one of ioFTPD's many available interfaces (shared memory, Tcl, module etc.).

I'm not condoning this because I don't want applications making internal changes for compatibility reasons. I reserve the right to change the way nxMyDB functions and I do not want to deal with third party scripts leaving disastrous errors all over the place.

The integers for credits and statistics arrays are stored in binary form (low order endianness). As far as I know, MySQL does not make a function available for reading binary integer values. The best you could do is write a stored procedure that would extract the number of bytes and use CAST to convert to integer or write a MySQL UDF in C/C++.
neoxed is offline   Reply With Quote