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 =/PHP Code:$usnses=$_SESSION['username'];
exec('zip /users/'.$usnses.'/smwfiles.zip /users/'.$usnses.'/');
Any help?
Thanks
EDIT:
Never mind I done it
PHP Code:exec("zip -r $f ./users/".$usnses."/*.html");


LinkBack URL
About LinkBacks


Reply With Quote
icon below! (this is even better than "liking" a post)
