I simple want to rar a folder with the help of php, so there's 2 ways to do this one is via shell_exec or exec, which isnt working for me but shell_exec and exec is enabled on server and working for other commands
other method is via .sh file, but i dont know how to use it properly :(
i need some code which works properly for this
i m trying use this command
rar a -v100m -m0 /home/admin/somefolder.rar somefolder-to-rar
its ubuntu 9.10