Le fichier the-lego-movie-2014-720p-web-dl-xvid-ac3-rarbg-srt a été trouvé dans la base de données sous l'id #19094
Le fichier a télécharger 1-1400693253.srt existe bien dans le dossier fichiers/2014/9588/
On cherche donc a rajouter le fichier 1-1400693253.srt (qui se trouve dans le dossier fichiers/2014/9588/) en le renommant The.Lego.Movie.2014.720p.WEB-DL.XviD.AC3-RARBG.srt (l.237)
L'extension du fichier 1-1400693253.srt est *.srt (l.165)
Le fichier *.zip sera stocké dans include/dl/
Le fichier *.zip a télécharger s'apppelera the-lego-movie-2014-720p-web-dl-xvid-ac3-rarbg-(fansub)-subsynchro.zip (l.212)
Le fichier 1-1400693253.srt va être appellé The.Lego.Movie.2014.720p.WEB-DL.XviD.AC3-RARBG.www.subsynchro.com.srtdans le zip grâce à $zip->addFile('fichiers/2014/9588/1-1400693253.srt', 'The.Lego.Movie.2014.720p.WEB-DL.XviD.AC3-RARBG.srt'); ! (l.216)
Le fichier ZiP téléchargeable s'appellera the-lego-movie-2014-720p-web-dl-xvid-ac3-rarbg-(fansub)-subsynchro.zip et sera stocké dans le dossier include/dl/ (l.225)
Nous recreons un fichier zip appellé the-lego-movie-2014-720p-web-dl-xvid-ac3-rarbg-(fansub)-subsynchro.zip dans le dossier include/dl/ (l.229)
On ajoute le fichier a-lire-subsynchro.nfo grace a addFromString (l.237)
L'image The.Lego.Movie.2014.720p.WEB-DL.XviD.AC3-RARBG.srt n'a bien été trouvé dans le dossier fichiers/2014/9588/ et donc a été ajouté dans le ZiP téléchargé
Nous tentons d'ajouter le fichier fichiers/2014/9588/1-1400693253.srt (renommé The.Lego.Movie.2014.720p.WEB-DL.XviD.AC3-RARBG.srt) contenu dans le dossier "fichiers/2014/9588/" avec la fonction $zip->addFile('fichiers/2014/9588/fichiers/2014/9588/1-1400693253.srt', 'The.Lego.Movie.2014.720p.WEB-DL.XviD.AC3-RARBG.srt') (l.245)
Le nfo the-lego-movie-2014-720p-web-dl-xvid-ac3-rarbg.nfo existait bien dans le dossier nfos/2014/9588/ donc on l'ajoute avec $zip->addFromString(filaneme, texteDuFichier) (l.251)
On ajoute la vignette du film grace au fichier la-grande-aventure-lego.jpg contenue dans le dossier img/vignettes/2014/. Le code utilisé est $zip->addFile('img/vignettes/2014/la-grande-aventure-lego.jpg', 'la-grande-aventure-lego.jpg'); (l.268)
Le fichier the-lego-movie-2014-720p-web-dl-xvid-ac3-rarbg-(fansub)-subsynchro.zip n'a pû être crée dans le dossier include/dl/et donc votre téléchargement n'a pu aboutir.