I have a user front end for a file hosting type website (not hosted here) and I need to be able to let my users create zip archives and download them on the fly of their areas.
Is what I am using at the minute but every archive is just empty =/
Any help?
Thanks
EDIT:
Never mind I done it
PHP:
$usnses=$_SESSION['username'];
exec('zip /users/'.$usnses.'/smwfiles.zip /users/'.$usnses.'/');
Is what I am using at the minute but every archive is just empty =/
Any help?
Thanks
EDIT:
Never mind I done it
PHP:
exec("zip -r $f ./users/".$usnses."/*.html");
Last edited: