Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have to use some command line to archive the filein to 7zip(.7z) in php.

i have added the command line in php script as
exec(7za a test.7z /var/www/html/test.php);
this is not creating a test.7z file.
any commandline like this will work in php?
can anyone can help me

thanks in advance
Posted
Updated 3-Nov-14 19:03pm
v3
Comments
Maciej Los 3-Nov-14 8:04am    
What's the issue?

1 solution

Not sure what you want, but have a look here: http://stackoverflow.com/questions/3888497/7z-extension-for-php[^]
 
Share this answer
 
Comments
Manas Bhardwaj 3-Nov-14 9:29am    
yes +5!
Maciej Los 3-Nov-14 10:00am    
Thank you, Manas ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900