exit; en l.161
Il y a 1 fichier trouvé avec l'id 62307 ($_GET[id_fichier]) et le filename paranormal-activity-next-of-kin-2021-1080p-webrip-x265-rarbg-srt ($_GET[fichier]) !
Le fichier a télécharger (10720-1636231155.srt) existe bien dans le dossier fichiers/2021/20213/, on lance son téléchargement (header("Location: fichiers/2021/20213/10720-1636231155.srt));
Et on le renomme avec header('Content-Disposition: attachment; filename="Paranormal.Activity.Next.of.Kin.2021.1080p.WEBRip.x265-RARBG.srt"');
Après, on ferme le header avec header("Connection: close");
On cherche donc a rajouté le fichier 10720-1636231155.srt (qui se trouve dans le dossier fichiers/2021/20213/) en le renommant Paranormal.Activity.Next.of.Kin.2021.1080p.WEBRip.x265-RARBG.srt (l.157)
On arreête le cript et affichons le $debug l.161
&bsp;
Array
(
[id_fichier] => 62307
[film_id] => 20213
[filename] => Paranormal.Activity.Next.of.Kin.2021.1080p.WEBRip.x265-RARBG.srt
[fichier] => 10720-1636231155.srt
[officiel] => 5
[pseudo] => Ballbreaker33
[afficher] => 1
[id_film] => 20213
[titre] => Paranormal Activity: Next of Kin
[titre_original] => Paranormal Activity: Next of Kin
[date] => 2021
[url] => paranormal-activity-next-of-kin
[vignette] => paranormal-activity-next-of-kin.jpg
[id_release] => 89964
[release] => Paranormal.Activity.Next.Of.Kin.2021.1080p.WEBRip.x265-RARBG
[group] => RARBG
[nfo] =>
[url_release] => paranormal-activity-next-of-kin-2021-1080p-webrip-x265-rarbg
)