You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

9 lines
317 B

<?php
$target_dir = "./scinder1pdf/pdf/";
$target_file = $target_dir . basename($_FILES["fichier"]["name"]);
move_uploaded_file($_FILES["fichier"]["tmp_name"], $target_file);
$zip = array();
exec("./scinder1pdf/pdfseparate.sh ".$_FILES["fichier"]["name"], $zip);
echo "<a href='".end($zip)."'>Télécharger</a>";
?>