Le fichier mother-and-child-2009-720p-bluray-x264-avs720-srt a été trouvé dans la base de données sous l'id #5343
Le fichier a télécharger 2001-1300748875.srt existe bien dans le dossier fichiers/2009/1956/
On cherche donc a rajouter le fichier 2001-1300748875.srt (qui se trouve dans le dossier fichiers/2009/1956/) en le renommant Mother.And.Child.2009.720p.BluRay.x264-AVS720.srt (l.237)
L'extension du fichier 2001-1300748875.srt est *.srt (l.165)
Le fichier *.zip sera stocké dans include/dl/
Le fichier *.zip a télécharger s'apppelera mother-and-child-2009-720p-bluray-x264-avs720-(z1)-dalag.zip (l.212)
Le fichier 2001-1300748875.srt va être appellé Mother.And.Child.2009.720p.BluRay.x264-AVS720.www.subsynchro.com.srtdans le zip grâce à $zip->addFile('fichiers/2009/1956/2001-1300748875.srt', 'Mother.And.Child.2009.720p.BluRay.x264-AVS720.srt'); ! (l.216)
Le fichier ZiP téléchargeable s'appellera mother-and-child-2009-720p-bluray-x264-avs720-(z1)-dalag.zip et sera stocké dans le dossier include/dl/ (l.225)
Nous recreons un fichier zip appellé mother-and-child-2009-720p-bluray-x264-avs720-(z1)-dalag.zip dans le dossier include/dl/ (l.229)
On ajoute le fichier a-lire-subsynchro.nfo grace a addFromString (l.237)
L'image Mother.And.Child.2009.720p.BluRay.x264-AVS720.srt n'a bien été trouvé dans le dossier fichiers/2009/1956/ et donc a été ajouté dans le ZiP téléchargé
Nous tentons d'ajouter le fichier fichiers/2009/1956/2001-1300748875.srt (renommé Mother.And.Child.2009.720p.BluRay.x264-AVS720.srt) contenu dans le dossier "fichiers/2009/1956/" avec la fonction $zip->addFile('fichiers/2009/1956/fichiers/2009/1956/2001-1300748875.srt', 'Mother.And.Child.2009.720p.BluRay.x264-AVS720.srt') (l.245)
Le nfo mother-and-child-2009-720p-bluray-x264-avs720.nfo existait bien dans le dossier nfos/2009/1956/ donc on l'ajoute avec $zip->addFromString(filaneme, texteDuFichier) (l.251)
On ajoute la vignette du film grace au fichier mother-and-child.jpg contenue dans le dossier img/vignettes/2009/. Le code utilisé est $zip->addFile('img/vignettes/2009/mother-and-child.jpg', 'mother-and-child.jpg'); (l.268)
Le fichier mother-and-child-2009-720p-bluray-x264-avs720-(z1)-dalag.zip n'a pû être crée dans le dossier include/dl/et donc votre téléchargement n'a pu aboutir.