You are here: Re: exec() and zip « PHP Programming Language « IT news, forums, messages
Re: exec() and zip

Posted by Ike on 11/08/06 12:33

"Rudi Menter" <spamcowgirl@spamgourmet.com> wrote in message
news:1kq7rhim8sy9$.1h5mu2a3zbsbq.dlg@40tude.net...
> Ike wrote:
>
>> exec( "zip -mj \backups\temp\cookbook.zip \backups\temp\cookbook.sql
>> 2>&1",
>> $output, $res );
>> if( $res > 0 ) {
>> error( true,"COMPRESSION FAILED\n".implode( "\n", $output));
>>
>> COMPRESSION FAILED
>> The system cannot execute the specified program.
>
> Ok, zip has been run since the system cannot produce the message
> COMPRESSION FAILED from itself, so you need to check the arguments.
>
> Regards
> --

Rudi,
Do you mean the arguments to exec ? Why then would this run in
localmode? -Ike

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация