Blop data type - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: General discussion (/forum-11.html) +--- Thread: Blop data type (/thread-8882.html) |
Blop data type - bodsink - 12-22-2009 09:19 PM I tried to use blop data type for storing files in mysql, after I upload some files with this metode, I see no hdd space additions. anyone ever experienced this? I'm use: ispCP 1.0.0 OMEGA build: 20090225 Codename: Priamos Thanks Bodsink RE: Blop data type - TheCry - 12-22-2009 09:34 PM This is an example how to store an image in the sql database: http://www.phpbuilder.com/columns/florian19991014.php3 How big are the files? If you upload some files with some kb you will see nothing! Thats normal.. RE: Blop data type - bodsink - 12-22-2009 10:42 PM (12-22-2009 09:34 PM)TheCry Wrote: This is an example how to store an image in the sql database: I see one of my users in ispcp, the panel ispcp disk usage warning You are exceeding the limit of your disk!, But users can still upload a file like the image that I attach below: RE: Blop data type - TheCry - 12-22-2009 11:10 PM Mhhhh... I don't know wheter the mysql-table is included in the caculation ob the disk size. Btw... Your user does only have 1MB diskspace? Is this only a test or is this the right adjustment? RE: Blop data type - bodsink - 12-22-2009 11:49 PM This mysql table PHP Code: CREATE TABLE `upload` (`id` int(11) NOT NULL and this script php PHP Code: <? yes, we are conducting testing for users sorry this script description language indonesia Regards Bodsink RE: Blop data type - kilburn - 12-23-2009 12:29 AM We've had some discussions regarding soft vs hard quotas (use the search function). Anyway, currently ispcp uses only soft quotas, meaning that: - Disk usage is updated daily (every night, but you can change it in /etc/cron.d/ispcp). - Once the user has exceeded it's disk usage, FTP file uploading is diabled. - All other file creation/uploading methods keep working (web uploads, mysql inserts, etc.). So yes, the behaviour you are seeing is the expected one in ispcp. |