CONNEXION
  • RetourJeux
    • Sorties
    • Hit Parade
    • Les + populaires
    • Les + attendus
    • Soluces
    • Tous les Jeux
    • Gaming
  • RetourActu Gaming
    • News
    • Astuces
    • Tests
    • Previews
    • Toute l'actu gaming
  • RetourBons plans
    • Bons plans
    • Bons plans Smartphone
    • Bons plans Hardware
    • Bons plans Image et Son
    • Bons plans Amazon
    • Bons plans Cdiscount
    • Bons plans Decathlon
    • Bons plans Fnac
    • Tous les Bons plans
  • RetourJVTech
    • Actus High-Tech
    • Intelligence Artificielle
    • Smartphones
    • Mobilité urbaine
    • Hardware
    • Image et son
    • Tutoriels
    • Tests produits High-Tech
    • Guides d'achat High-Tech
    • JVTech
  • RetourCulture
    • Actus Culture
    • Culture
  • RetourVidéos
    • A la une
    • Gaming Live
    • Vidéos Tests
    • Vidéos Previews
    • Gameplay
    • Trailers
    • Chroniques
    • Replay Web TV
    • Toutes les vidéos
  • RetourForums
    • Hardware PC
    • PS5
    • Switch 2
    • Xbox Series
    • Switch
    • Pokemon pocket
    • FC 25 Ultimate Team
    • League of Legends
    • Tous les Forums
  • PC
  • PS5
  • Xbox Series
  • Switch 2
  • PS4
  • One
  • Switch
  • iOS
  • Android
  • MMO
  • RPG
  • FPS
En ce moment Genshin Impact Valhalla Breath of the wild Animal Crossing GTA 5 Red dead 2
Liste des sujets

Proposer une vidéo en telechargement

Rain_Man
Rain_Man
Niveau 7
20 mai 2006 à 13:28:20

Salut!
Voici mon probleme, j´aimerais proposer des vidéos en telechargement (on clik sur un lien "telecharger" et on enregistre la vidéo sur l´ordinateur) mais je ne sais pas comment m´y prendre! Si vous pourrize m´aider, ce serais sympa de votre part!
Merci d´avance! ciao

Lockheart
Lockheart
Niveau 10
20 mai 2006 à 13:29:33

<a href="AHAHAH.mov">Télécharger</a>

deepblue
deepblue
Niveau 16
20 mai 2006 à 13:30:57

<?php
// information concernant le fichier à télécharger

$fichier = ´mon_repertoire/mon_fichier.jpg´;
$nom_fichier = ´mon_fichier.jgp´;

// téléchargement du fichier
header(´Content-disposition: attachment; filename=
´.$nom_fichier);
header(´Content-Type: application/force-download´);
header(´Content-Transfer-Encoding: fichier´);
header(´Content-Length: ´.filesize($fichier));
header(´Pragma: no-cache´);
header(´Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0´);
header(´Expires: 0´);
readfile($fichier);
?>

SOURCE : http://www.izidoo.com/php-mysql/190/

Rain_Man
Rain_Man
Niveau 7
20 mai 2006 à 13:33:23

Merci les gars!

Sous forums
  • Aide à l'achat Mac
  • Création de Jeux
  • Linux
  • Création de sites web
  • Programmation
  • Internet
  • Steam Deck
  • Macintosh
  • Hardware
La vidéo du moment