1. Il y a 1 fichier trouvé avec l'id 2166 ($_GET[id_fichier]) et le filename the-hitchhikers-guide-to-the-galaxy-2005-brrip-xvid-ac3-flawl3ss-srt ($_GET[fichier]) !
  2. Le fichier a télécharger (52-1272776756.srt) existe bien dans le dossier fichiers/2005/1324/, on lance son téléchargement (header("Location: fichiers/2005/1324/52-1272776756.srt)) après 3 secondes (sleep(3);)
  3. On cherche donc a rajouter le fichier 52-1272776756.srt (qui se trouve dans le dossier fichiers/2005/1324/) en le renommant The.Hitchhikers.Guide.to.the.Galaxy.2005.BRRip.XviD.AC3-FLAWL3SS.srt (l.157)
  4. L'extension du fichier 52-1272776756.srt est *.srt (l.165)
  5. Le fichier *.zip sera stocké dans include/dl/
  6. Le fichier 52-1272776756.srt (contenu dans fichiers/2005/1324/) se rajoute au fichier ZiP ! (l.211)
  7. Le fichier *.zip a télécharger s'apppelera the-hitchhikers-guide-to-the-galaxy-2005-brrip-xvid-ac3-flawl3ss-xeis.zip (l.214)
  8. Le fichier 52-1272776756.srt va être appellé The.Hitchhikers.Guide.to.the.Galaxy.2005.BRRip.XviD.AC3-FLAWL3SS.www.subsynchro.com.srt dans le zip grâce à $zip->addFile('fichiers/2005/1324/52-1272776756.srt', 'The.Hitchhikers.Guide.to.the.Galaxy.2005.BRRip.XviD.AC3-FLAWL3SS.srt'); ! (l.219)
  9. Le fichier ZiP téléchargeable s'appellera the-hitchhikers-guide-to-the-galaxy-2005-brrip-xvid-ac3-flawl3ss-xeis.zip et sera stocké dans le dossier include/dl/ (l.225)
  10. Nous recréons un fichier zip appellé the-hitchhikers-guide-to-the-galaxy-2005-brrip-xvid-ac3-flawl3ss-xeis.zip dans le dossier include/dl/ (l.229)
  11. L'image The.Hitchhikers.Guide.to.the.Galaxy.2005.BRRip.XviD.AC3-FLAWL3SS.srt n'a bien été trouvé dans le dossier fichiers/2005/1324/ et donc a été ajouté dans le ZiP téléchargé
  12. Nous tentons d'ajouter le fichier fichiers/2005/1324/52-1272776756.srt (renommé The.Hitchhikers.Guide.to.the.Galaxy.2005.BRRip.XviD.AC3-FLAWL3SS.srt) contenu dans le dossier "fichiers/2005/1324/" avec la fonction $zip->addFile('fichiers/2005/1324/fichiers/2005/1324/52-1272776756.srt', 'The.Hitchhikers.Guide.to.the.Galaxy.2005.BRRip.XviD.AC3-FLAWL3SS.srt') (l.245)
  13. On a crée ke zip (zipname) dans le dossier (include/dl/) : include/dl/the-hitchhikers-guide-to-the-galaxy-2005-brrip-xvid-ac3-flawl3ss-xeis.zip
  14. Bizzarement, Le fichier *.zip (the-hitchhikers-guide-to-the-galaxy-2005-brrip-xvid-ac3-flawl3ss-xeis.zip) n'a pas été crée dans le dossier include/dl/
  15. Le nfo the-hitchhikers-guide-to-the-galaxy-2005-brrip-xvid-ac3-flawl3ss.nfo existait bien dans le dossier nfos/2005/1324/ donc on l'ajoute avec $zip->addFromString(filaneme, texteDuFichier) (l.251)
  16. On ajoute la vignette du film grace au fichier h2g2-le-guide-du-voyageur-galactique.jpg contenue dans le dossier img/vignettes/2005/.
    Le code utilisé est $zip->addFile('img/vignettes/2005/h2g2-le-guide-du-voyageur-galactique.jpg', 'h2g2-le-guide-du-voyageur-galactique.jpg'); (l.268)
  17. Le fichier the-hitchhikers-guide-to-the-galaxy-2005-brrip-xvid-ac3-flawl3ss-xeis.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.048 secondes // PHP