marscld has asked for the wisdom of the Perl Monks concerning the following question:
Hi all, There is a CGI file, which will output the result for unzipped data in webpage. E.g test.zip contains test.tgz and test.txt. The output of CGI is a webpage, which will show test.tgz test.txt However,When running
system("unzip test.zip")in CGI file, it shows "Archive: test.zip inflating: test.tgz inflating: test.txt" automatically in corresponding webpage,this information is useless and not supposed to be shown in webpage. Could you please advice on how to eliminate the useless unzip information ? Thanks.
Thank you all for the help, the problem solved! Yep, there is more than one way to do it, it is why Perl is a fantastic programming language :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Invoke system("unzip") in CGI file,unexpected output
by chrestomanci (Priest) on Mar 03, 2011 at 08:13 UTC | |
by marscld (Beadle) on Mar 07, 2011 at 07:32 UTC | |
|
Re: Invoke system("unzip") in CGI file,unexpected output
by cdarke (Prior) on Mar 03, 2011 at 08:01 UTC | |
|
Re: Invoke system("unzip") in CGI file,unexpected output
by wind (Priest) on Mar 03, 2011 at 07:02 UTC | |
|
Re: Invoke system("unzip") in CGI file,unexpected output
by CountZero (Bishop) on Mar 03, 2011 at 07:02 UTC | |
|
Re: Invoke system("unzip") in CGI file,unexpected output
by DrHyde (Prior) on Mar 03, 2011 at 10:44 UTC |