shell_exec problem with bsdtar

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to emulate Linux facilities on the windows servers, and have found bsdtar can be renamed tar.exe so that it will work the same as a shell_exec( "tar" ) call in Linux.

The full paths are used to the files and the command line returns the extracted file name when run at a command prompt, and similar commands for unzip and unrar work fine, later in the check list, but using the 'tar' and also 'bsdtar' command simply returns NULL, and the extracted file is not created.

Any ideas what I've got wrong?

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux