1. Il y a 1 fichier trouvé avec l'id 17799 ($_GET[id_fichier]) et le filename the-good-the-bad-and-the-ugly-1966-1080p-bluray-dts-x264-ctrlhd-srt ($_GET[fichier]) !
  2. Le fichier a télécharger (12866-1392254008.srt) existe bien dans le dossier fichiers/1966/519/, on lance son téléchargement (header("Location: fichiers/1966/519/12866-1392254008.srt)) après 3 secondes (sleep(3);)
  3. On cherche donc a rajouter le fichier 12866-1392254008.srt (qui se trouve dans le dossier fichiers/1966/519/) en le renommant The-Good-The-Bad-And-The-Ugly.1966.1080p.BluRay.DTS.x264-CtrlHD.srt (l.157)
  4. L'extension du fichier 12866-1392254008.srt est *.srt (l.165)
  5. Le fichier *.zip sera stocké dans include/dl/
  6. Le fichier 12866-1392254008.srt (contenu dans fichiers/1966/519/) se rajoute au fichier ZiP ! (l.211)
  7. Le fichier *.zip a télécharger s'apppelera the-good-the-bad-and-the-ugly-1966-1080p-bluray-dts-x264-ctrlhd-qtarantino.zip (l.214)
  8. Le fichier 12866-1392254008.srt va être appellé The-Good-The-Bad-And-The-Ugly.1966.1080p.BluRay.DTS.x264-CtrlHD.www.subsynchro.com.srt dans le zip grâce à $zip->addFile('fichiers/1966/519/12866-1392254008.srt', 'The-Good-The-Bad-And-The-Ugly.1966.1080p.BluRay.DTS.x264-CtrlHD.srt'); ! (l.219)
  9. Le fichier ZiP téléchargeable s'appellera the-good-the-bad-and-the-ugly-1966-1080p-bluray-dts-x264-ctrlhd-qtarantino.zip et sera stocké dans le dossier include/dl/ (l.225)
  10. Nous recréons un fichier zip appellé the-good-the-bad-and-the-ugly-1966-1080p-bluray-dts-x264-ctrlhd-qtarantino.zip dans le dossier include/dl/ (l.229)
  11. L'image The-Good-The-Bad-And-The-Ugly.1966.1080p.BluRay.DTS.x264-CtrlHD.srt n'a bien été trouvé dans le dossier fichiers/1966/519/ et donc a été ajouté dans le ZiP téléchargé
  12. Nous tentons d'ajouter le fichier fichiers/1966/519/12866-1392254008.srt (renommé The-Good-The-Bad-And-The-Ugly.1966.1080p.BluRay.DTS.x264-CtrlHD.srt) contenu dans le dossier "fichiers/1966/519/" avec la fonction $zip->addFile('fichiers/1966/519/fichiers/1966/519/12866-1392254008.srt', 'The-Good-The-Bad-And-The-Ugly.1966.1080p.BluRay.DTS.x264-CtrlHD.srt') (l.245)
  13. On a crée ke zip (zipname) dans le dossier (include/dl/) : include/dl/the-good-the-bad-and-the-ugly-1966-1080p-bluray-dts-x264-ctrlhd-qtarantino.zip
  14. Bizzarement, Le fichier *.zip (the-good-the-bad-and-the-ugly-1966-1080p-bluray-dts-x264-ctrlhd-qtarantino.zip) n'a pas été crée dans le dossier include/dl/
  15. Le nfo the-good-the-bad-and-the-ugly-1966-1080p-bluray-dts-x264-ctrlhd.nfo existait bien dans le dossier nfos/1966/519/ donc on l'ajoute avec $zip->addFromString(filaneme, texteDuFichier) (l.251)
  16. On ajoute la vignette du film grace au fichier le-bon-la-brute-et-le-truand.jpg contenue dans le dossier img/vignettes/1966/.
    Le code utilisé est $zip->addFile('img/vignettes/1966/le-bon-la-brute-et-le-truand.jpg', 'le-bon-la-brute-et-le-truand.jpg'); (l.268)
  17. Le fichier the-good-the-bad-and-the-ugly-1966-1080p-bluray-dts-x264-ctrlhd-qtarantino.zip n'a pû être crée dans le dossier include/dl/et donc votre téléchargement n'a pu aboutir.
La page c'est charge en 3.046 secondes // PHP