Tenho um formulário onde um administrador irá preencher os dados do usuário, mas preciso que este administrador entre com uma pasta .zip onde terá fotos do usuário.
Estou usando um botão para selecionar o arquivo .zip , mas preciso descompactar este arquivo para depois utilizar o que tem dentro dele.
<form action='pageinicial.php' method='GET' enctype='multipart/form-data'>
<div class='diview'>
Certifique-se de preencher os campos login, senha, nome e email!
<table>
<thead>
<tr>
<th >login</th>
<th >senha</th>
<th >nome</th>
<th >departamento</th>
<th >nivel</th>
<th >email</th>
</tr>
</thead>
<tbody>
<tr>
<td id='class_td'><input type='text' name='loginusu' value=''></td>
<td id='class_td'><input type='text' name='senhausu' value=''></td>
<td id='class_td'><input type='text' name='nomeusu' value=''></td>
<td id='class_td'><input type='text' name ='departamentousu' value=''></td>
<td id='class_td'><input type='text' name='nivelusu' value=''></td>
<td id='class_td'><input type='email' name='emailusu' value=''></td>
</tr>
</tbody>
</table>
</div>
<input type='submit' value='Adicionar'/>
<input type='file' name='foto' /><br /><br />