Hi Guys & Girls...

I need to be able to zip up files in a particular directory on a webserver... The files are manly images between 15 - 30k but there are about 10,000 images which equates to around 18 - 25Mb and my current PHP script just crashes...

I was suggested the following...

#!/bin/sh

zip -r newzip images

I don't know huge amounts about unix but I think it is a unix command... I was just wondering if it was possible to run a unix command from a php script? Or if anyone else has any suggestions about zipping that many images using a php script that would be appreciated...

Thanks