2007/5/31, Jon Phillips <email@example.com>:
On Wed, 2007-05-30 at 15:09 +0800, Snic Huang wrote:
> Jon, I have committed.
Patch First, Discuss Later :)
> I intended to have waited for you review. Besides, I adds a new
> function to provide the checksum value and license file (rdf) of each
> file, when user download a file.
This is cool!
> The checksum, license file and downloaded file will include in a zip
> file. I use a 3rd party library, which is PHPMyAdmin's zip.lib
> library. I will explain as follow:
Often, people want to download the md5 in a file separate from the zip
file. Could this be provided? The checksum of the actually archive is
often more important...
> 1. ccextras/cc-download.inc
> increasing the count value.
> 2. ccextras/cc-download.php
> displaying the count value
> 3. ccextras/update_v_5_download.inc
> adding a new field of cc_tbl_files, which is 'file_num_download'.
> 4. cclib/zip/zip.lib.php
> PHPMyAdmin's zip.lib library
What is the license for this library? Is it compatible with GPL?
Also, did you review just using the built-in compile-time zip library
provided by standard php?
VS, you might have something to say about this?
Also, did you see that the zlib is on by default on php builds?
That might be used to provide tarball functionality?
Also, did you consider to just use a systems built-in support for zip
and other archiving formats?
I'm mainly asking these to get opinions and to hear your reasoning
Great work regardless! I need to svn up and run these...
(Personally, I'm interested if you also add tar.gz and tar.bz2
functionality, because I need in some other projects through ccHost :)
> 5. ccextras/cc- licensefiles.inc
> create a rdf file
Very cool! It would be great to offer RDF files for any format we don't
have a way to embed into...Mike and I made a standard for this called:
This is important because new db-based file systems are starting to be
able to read sidecar metadata and automatically pull it into the db
store for relationship to a file.
> 6. ccextras/cc- licensefiles.php
> 7. ccextras/cc-checksum.inc
> create a checksum file
> 8. ccextras/cc-checksum.php
> I look forward to hearing from you.
> 2007/5/29, Jon Phillips < firstname.lastname@example.org>:
> On Tue, 2007-05-29 at 16:19 +0800, Snic Huang wrote:
> > Hi Victor, I written some code for adding download counter.
> I will
> > explain as follow:
> > 1. cc-download.inc
> > increasing the count value.
> > 2. cc-download.php
> > displaying the count value
> > 3. update_v_5_download.inc
> > adding a new field of cc_tbl_files, which is
> > Allow admins to enable/disable this function in 'Global
> > Please offer me some advice. Thanks!
> > Snic
> Please go ahead and commit and we can review after that...you
> have the
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and
> > control of your XML. No limits. Just data. Click to get it
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> Cctools-cchost mailing list
> Jon Phillips
> San Francisco, CA
> USA PH 510.499.0894
> MSN, AIM, Yahoo Chat: kidproto
> Jabber Chat: email@example.com
> IRC: firstname.lastname@example.org
San Francisco, CA
USA PH 510.499.0894
MSN, AIM, Yahoo Chat: kidproto
Jabber Chat: email@example.com