Em Andamento

simple php unzip function

Hi I have just set up a nice image gallery on my website.

The image gallery has an "upload zip" function in it to allowing you to upload a whole bunch of images in a zip file through the admin interface.

The problem I have is that the hosting company hosting the site does not have the "zip function" installed.. thus making the upload function in the admin interface not usable.

My hosts gave me a piece of php code that they said will work however I do not know how to implement this into the original gallery code to make it all work.

This is the code below:

##################################

function unzip($zip_file, $src_dir, $extract_dir)

{

copy($src_dir . "/" . $zip_file, $extract_dir . "/" . $zip_file);

chdir($extract_dir);

shell_exec("unzip $zip_file");

}

?>

##################################

You will have to implement this code into the gallery so the upload function works. I'm pretty sure all that needs to be changed is in a file "[url removed, login to view]" there is also a file called "[url removed, login to view]" which also may need to be changed.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Windows XP", "in all 3.0+ versions of Internet Explorer and Netscape", "Linux"

Habilidades: Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: need software engineering for my company, engineering manager, php code program, unzip php linux, php functional zip, upload image website desktop, php file manager zip, php interface exist, simple php image upload, unzip php, image gallery php, company function, upload unzip, linux unzip php, web function image, simple file upload form, website upload function, simple program linux, simple php file explorer, linux simple php site, zip code class, simple manager php, simple images upload, php file explorer, upload file internet source code

Acerca do Empregador:
( 4 comentários ) Australia

ID do Projeto: #3051544

Premiar a:

seamlesstech

See private message.

$5 USD em 3 dias
(4 Avaliações)
2.6

11 freelancers estão ofertando em média $7 para este trabalho

bgeorge

See private message.

$8.5 USD in 3 dias
(242 Comentários)
6.3
dajaney

See private message.

$8.5 USD in 3 dias
(23 Comentários)
5.6
wizap

See private message.

$8.5 USD in 3 dias
(86 Comentários)
5.3
alexmaster

See private message.

$8.5 USD in 3 dias
(24 Comentários)
4.3
freelancecsivw

See private message.

$4.25 USD in 3 dias
(6 Comentários)
2.7
pjohannesson

See private message.

$4.25 USD in 3 dias
(10 Comentários)
2.1
rollervw

See private message.

$4.25 USD in 3 dias
(0 Comentários)
0.0
michael79bxl

See private message.

$8.5 USD in 3 dias
(0 Comentários)
0.0
b2emotion

See private message.

$8.5 USD in 3 dias
(0 Comentários)
0.0
vw1592472vw

See private message.

$8.5 USD in 3 dias
(4 Comentários)
0.0