Существует ли возможность в php открыть формат arj .Я поставил мазоль гуглу тобеж не нашёл.Видел тока zip и rar.
Нашёл какой-то скрипт из одного файла unziptodir.psh который должен разорхивировать arj
Из чего он
PHP |
#!/usr/bin/php -q |
Цитата |
/* Copyright © 2002 by Adi Sieker All rights reserved. contact: adi@l33tless.org */ A little command цine script written in php to extract any number of arj,rar and zip archives to a directory which gets the same name as the archive minus extension. The script uses external apps to actually handle the archives. i.e. you'll actually needs arj,rar and unzip somewhere in your path or edit the script lines 5-8 and change the commands there. Developed and tested under Windows but it should also work under *nix. Under *nix you'll _very_ probably have to edit the $unarchive_commands array to create the correct commands. usage: unziptodir.psh <archive list> example: unziptodir.psh Archive1.zip Archive2.arj Archive3.rar |
arj/windows/arj.exe
arj x -r file.arj
pause
c:\WebServers\usr\local\php5\php.exe script.php c:\vcn.arj
<?php
$zap=shell_exec ("#!/usr/bin/arj\n arj e file.arj");
echo $zap; ?>