PDA

View Full Version : ZIP Compression


b1gde
Sat 5th Jun '04, 2:27pm
Hi,

anyone knows how to compress archives so fast as in vbulletin members area? You click on download and it begins! No waiting! With the ZIP-Class from phpMyAdmin it takes about 1 Minute to compress 6 MB, in vBulletin members area < 1 second!

daemon
Sat 5th Jun '04, 2:35pm
My best guess is that this is done via a shell script as it would be able to ZIP things faster than in PHP and it also is easy to find and replace the instances where your license number needs to go.

My guess is that they use the exec() command to execute a shell script that takes care of the entire download system. I could be wrong, though.

b1gde
Sat 5th Jun '04, 2:41pm
I tried to compress via zip on the shell and it takes about 6 secons. Better, but not so fast as in members area.