springfresh
asked on
how to turn off system messages
Hello, i just made some things with PHP:
system('zip u -p'.$zip_passwd.' '.$filename.' '.$ourFileName);
And it output this in my PHP file:
7-Zip 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06 Scanning Creating archive ...................
How can i disable or turn off this system messages?
system('zip u -p'.$zip_passwd.' '.$filename.' '.$ourFileName);
And it output this in my PHP file:
7-Zip 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06 Scanning Creating archive ...................
How can i disable or turn off this system messages?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
other option would hae been to use exec instead of system
http://www.php.net/manual/en/function.exec.php
http://www.php.net/manual/en/function.exec.php
ASKER