Script pour faire telecharger des fichier?
Résolu
toflfou
Messages postés
1333
Date d'inscription
Statut
Membre
Dernière intervention
-
toflfou Messages postés 1333 Date d'inscription Statut Membre Dernière intervention -
toflfou Messages postés 1333 Date d'inscription Statut Membre Dernière intervention -
Bonjour,je voudrais que les visiteur puisse telecharger des fichier sur mon site web .Pouriez vous me donner un script svp ;merci par avance;Toflfou
A voir également:
- Script pour faire telecharger des fichier?
- Fichier bin - Guide
- Télécharger clavier arabe - Télécharger - Divers Web & Internet
- Fichier epub - Guide
- Fichier rar - Guide
- Comment réduire la taille d'un fichier - Guide
7 réponses
C'est bien trop vaste ce que tu nous dis là, ton site est codé en quoi ? HTML, PHP, CSS, JAVA SCRIPT, ETC... ?
Et quels type de fichiers veux tu que l'on te télécharge ? Photos, Vidéos, etc... ?
Et quels type de fichiers veux tu que l'on te télécharge ? Photos, Vidéos, etc... ?
ce son mes mixe et je peut utiliser du script (jai deja fait 2 3 truc script et sa le prend en charge alors en script)
Quand tu dis tes "mixes", tu veut dire des musiques, des fichiers ? Il te faudrait faire un bouton appelé télécharger et quand tu clic dessus cela envoi une commande pour lancer le téléchargement de tes "mixes"? Ton site est en ligne ou pas, cela serait plus facile à comprendre pour moi.
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
Tu devrais d'abord finir l'interface de tes pages, utilise du css et après corrige moi toutes ces fautes d'orthographe stp (ce n'est pas méchant, c'est juste un conseil). Après pour ton bouton utilise du php et un truc du genre
<a href="l'adressedetamusique" OnClick="submit()">Télécharger<a/>
<a href="l'adressedetamusique" OnClick="submit()">Télécharger<a/>
A oui la page ou l'on peut telecharger des fond d'ecran minterresse serais til possible (si sa ne te derange pas ) que tu me donne le code source de cette page comme sa je peut changer les adresse des photo ect pour faire la meme chose sur mon site (je peut egallement metre ton adresse sur ma page d'acceuil si tu veux )
Si tu veux cela ne me dérange pas pour l'adresse mais il n'est pas encore finit. Pour ce qui est du code je veut bien te le passer mais par message privé histoire que tout le monde ne l'utilise pas mais je te prévient j'utilise pas mal de css car c'est peut être compliqué à utiliser mais c'est vraiment énorme quand on le maîtrise, donc sois tu devras te mettre au css sois tout passer en <a href></a>.
excuse moi mais sa ne le fait pas telecharger </script>
</p>
<noscript>
<p><a href="Toflfou.mp3" target="_self" class="Style7" onclick="submit()">Télécharger</a></p>
<load="Toflfou.mp3" onclick="submit()"><a/></a>
</noscript>
<p> </p>
</form>
on peut lecouter simplement dans une autre fenetre
</p>
<noscript>
<p><a href="Toflfou.mp3" target="_self" class="Style7" onclick="submit()">Télécharger</a></p>
<load="Toflfou.mp3" onclick="submit()"><a/></a>
</noscript>
<p> </p>
</form>
on peut lecouter simplement dans une autre fenetre
--
Comme disais Mr GABIN :<< il y a une chose que je sais , c est que l'on ne sais jamais ! >>
>>MERCI DE REPONDRE OU DE COCHER VOS PROBLEME RESOLUS QUAND IL LE SONT !<<
</html><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans nom</title>
<style type="text/css">
<!--
body {
background-image: url(dance-valley-2006-2.jpg);
background-repeat: no-repeat;
}
.Style1 {
color: #990000;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 36px;
}
.Style2 {color: #D4FF00}
.Style3 {color: #990000; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 36px; font-weight: bold; }
.Style4 {
color: #FFFF00;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 36px;
font-weight: bold;
font-style: italic;
}
.Style5 {color: #FFFF00}
.Style7 {color: #CC0000; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 36px; font-weight: bold; }
-->
</style></head>
<body>
<p align="center" class="Style1"><span class="Style2"><tt><tt>
<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,0,0" width="131" height="33" title="Vous ecouter une intro du CD de DJ Toflfou qui sortiras prochainement..Dans vos enceintes!!">
<param name="src" value="dj toflfou.mp3" />
<embed src="dj toflfou.mp3" pluginspage="https://helpx.adobe.com/shockwave/shockwave-end-of-life-faq.html" width="131" height="33"></embed>
</object>
</tt></tt>Bienvenues dans "Mes mixes" :<tt>la meilleur section de ce sites pour les
fetard!!! </tt></span></p>
<p align="center" class="Style3"><tt><samp>Ici vous trouverez mes mixes (serons par la suite disponible au telechargement gratuits,pour le moment si une musique vous plaies vous pouvez me le dire dire en laissant un message et je laisserais le liens de telechargement). </samp></tt></p>
<p align="center" class="Style4"> </p>
<p align="center" class="Style4"> </p>
<p align="center" class="Style4"> </p>
<p align="center" class="Style4">Dj Toflfou vous presente ses mixe(actuellement vous ecoutez mon intro..): </p>
<form id="form3" name="form3" method="post" action="">
<label for="textarea"></label>
<p>
<label for="textarea"></label>
<label for="Submit"></label>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="159" height="71"><a href="Toflfou.mp3" OnClick="load()">Télécharger<a/>
<param name="BGCOLOR" value="#00DF00" />
<param name="movie" value="button1.swf" />
<param name="quality" value="high" />
<embed src="button1.swf" width="159" height="71" quality="high" pluginspage="https://get.adobe.com/flashplayer/" type="application/x-shockwave-flash" bgcolor="#00DF00" ></embed>
</object>
<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,0,0" width="138" height="70" align="baseline">
<param name="src" value="Toflfou.mp3" />
<param name="swText" value="Vous ecoutez" />
<param name="AutoStart" value="false" />
<embed src="Toflfou.mp3" width="138" height="70" autostart="false" align="baseline" pluginspage="https://helpx.adobe.com/shockwave/shockwave-end-of-life-faq.html" swtext="Vous ecoutez"></embed>
</object>
<script language="JavaScript" type="text/javascript">
<a href="toflfou.mp3" OnClick="submit()">Télécharger<a/>
</script>
</p>
<noscript>
<p><a href="Toflfou.mp3" target="_self" class="Style7" onclick="submit()">Télécharger</a></p>
<load="Toflfou.mp3" onclick="submit()"><a/></a>
</noscript>
<p> </p>
</form>
<p align="center" class="Style3"> </p>
<p align="center" class="Style3">
<script language="JavaScript" type="text/javascript">
<br xmlns:lxslt="http://xml.apache.org/xslt"><table xmlns:lxslt="http://xml.apache.org/xslt" border="0" cellpadding="2" cellspacing="2" width="99%"><tbody><tr><td class="forum_controls"><a onclick='go("?=E&p=1&f=abw0x0ineqjo11d30f6195e&x=");return false;' href="javascript:void(0);"><span class="forum_controls">
[Nouveau Message]</span>
</script>
<script language="JavaScript" type="text/javascript">
<br xmlns:lxslt="http://xml.apache.org/xslt"><table xmlns:lxslt="http://xml.apache.org/xslt" border="0" cellpadding="2" cellspacing="2" width="99%"><tbody><tr><td class="forum_controls"><a onclick='go("?=E&p=1&f=abw0x0ineqjo11d30f6195e&x=");return false;' href="javascript:void(0);"><span class="forum_controls">
[Nouveau Message]</span>
</script>
<noscript>
<br xmlns:lxslt="http://xml.apache.org/xslt" />
<script language="JavaScript" type="text/javascript">
</script>
<!-- WebApp ID: 1003 -->
<script>
/* please note: this script requires url.js */
if (typeof(__path_prefix__) == 'undefined')
__path_prefix__ = '.';
if (typeof(URL) == 'function') {
var appLoaderUrl = new URL('http://cgi.hpt001.bluewin.ch:80/cgi-bin/AppLoader/ABW0X0INEQJO/1003/abw0x0ineqjo11d30f6195e/fr%3AFR%3A?cc=1230034843564');
if (appLoaderUrl.setSession())
appLoaderUrl.setParameter("foo", Math.random(), true);
document.write("<SCRIPT src='" + appLoaderUrl.toExternalForm() + "'></"+"SCRIPT>");
}
</script>
<script src="http://cgi.hpt001.bluewin.ch:80/cgi-bin/AppLoader/ABW0X0INEQJO/1003/abw0x0ineqjo11d30f6195e/fr%3AFR%3A?cc=0.9316339344595013"></script>
<script src="http://cgi.hpt001.bluewin.ch:80/cgi/forum/lang_forum_fr_FR.js"></script>
<script src="http://cgi.hpt001.bluewin.ch:80/cgi/forum/forum.js"></script>
<script src="http://cgi.hpt001.bluewin.ch:80/cgi-bin/CMForum/abw0x0ineqjo11d30f6195e?cc=0.22781147877508656&lang=fr&country=FR"></script>
<a name="start" id="start" xmlns:lxslt="http://xml.apache.org/xslt"></a><br xmlns:lxslt="http://xml.apache.org/xslt" />
</p>
<table xmlns:lxslt="http://xml.apache.org/xslt" border="0" cellpadding="2" cellspacing="2" width="99%">
<tbody>
<tr>
<td class="forum_controls Style5"> </td>
</tr>
</tbody>
</table>
<table xmlns:lxslt="http://xml.apache.org/xslt" class="forum_jump" border="0" cellpadding="1" cellspacing="0" width="99%">
<tbody>
<tr>
<td width="15%" align="left" class="forum_list_skip Style5"></td>
<td width="15%" align="right" class="forum_list_skip Style5"></td>
</tr>
</tbody>
</table>
<span class="Style5"><br xmlns:lxslt="http://xml.apache.org/xslt" />
</span>
<table xmlns:lxslt="http://xml.apache.org/xslt" class="forum_jump" border="0" cellpadding="1" cellspacing="0" width="99%">
<tbody>
<tr>
<td class="forum_list_skip" align="left" width="15%"></td>
<td class="forum_list_skip" align="right" width="15%"></td>
</tr>
</tbody>
</table>
<br xmlns:lxslt="http://xml.apache.org/xslt" />
<table xmlns:lxslt="http://xml.apache.org/xslt" border="0" cellpadding="2" cellspacing="2" width="99%">
<tbody>
<tr>
<td class="forum_controls"> </td>
</tr>
</tbody>
</table>
<!-- took: 30 ms -->
<table xmlns:lxslt="http://xml.apache.org/xslt" border="0" cellpadding="2" cellspacing="2" width="99%">
<tbody>
<tr>
<td class="forum_controls"><a href="javascript:void(0);" class="Style5" onclick='go("?=E&p=1&f=abw0x0ineqjo11d30f6195e&x=");return false;'></a></td>
</tr>
</tbody>
</table>
</body>
</html>
Comme disais Mr GABIN :<< il y a une chose que je sais , c est que l'on ne sais jamais ! >>
>>MERCI DE REPONDRE OU DE COCHER VOS PROBLEME RESOLUS QUAND IL LE SONT !<<
</html><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans nom</title>
<style type="text/css">
<!--
body {
background-image: url(dance-valley-2006-2.jpg);
background-repeat: no-repeat;
}
.Style1 {
color: #990000;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 36px;
}
.Style2 {color: #D4FF00}
.Style3 {color: #990000; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 36px; font-weight: bold; }
.Style4 {
color: #FFFF00;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 36px;
font-weight: bold;
font-style: italic;
}
.Style5 {color: #FFFF00}
.Style7 {color: #CC0000; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 36px; font-weight: bold; }
-->
</style></head>
<body>
<p align="center" class="Style1"><span class="Style2"><tt><tt>
<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,0,0" width="131" height="33" title="Vous ecouter une intro du CD de DJ Toflfou qui sortiras prochainement..Dans vos enceintes!!">
<param name="src" value="dj toflfou.mp3" />
<embed src="dj toflfou.mp3" pluginspage="https://helpx.adobe.com/shockwave/shockwave-end-of-life-faq.html" width="131" height="33"></embed>
</object>
</tt></tt>Bienvenues dans "Mes mixes" :<tt>la meilleur section de ce sites pour les
fetard!!! </tt></span></p>
<p align="center" class="Style3"><tt><samp>Ici vous trouverez mes mixes (serons par la suite disponible au telechargement gratuits,pour le moment si une musique vous plaies vous pouvez me le dire dire en laissant un message et je laisserais le liens de telechargement). </samp></tt></p>
<p align="center" class="Style4"> </p>
<p align="center" class="Style4"> </p>
<p align="center" class="Style4"> </p>
<p align="center" class="Style4">Dj Toflfou vous presente ses mixe(actuellement vous ecoutez mon intro..): </p>
<form id="form3" name="form3" method="post" action="">
<label for="textarea"></label>
<p>
<label for="textarea"></label>
<label for="Submit"></label>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload2.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="159" height="71"><a href="Toflfou.mp3" OnClick="load()">Télécharger<a/>
<param name="BGCOLOR" value="#00DF00" />
<param name="movie" value="button1.swf" />
<param name="quality" value="high" />
<embed src="button1.swf" width="159" height="71" quality="high" pluginspage="https://get.adobe.com/flashplayer/" type="application/x-shockwave-flash" bgcolor="#00DF00" ></embed>
</object>
<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,0,0" width="138" height="70" align="baseline">
<param name="src" value="Toflfou.mp3" />
<param name="swText" value="Vous ecoutez" />
<param name="AutoStart" value="false" />
<embed src="Toflfou.mp3" width="138" height="70" autostart="false" align="baseline" pluginspage="https://helpx.adobe.com/shockwave/shockwave-end-of-life-faq.html" swtext="Vous ecoutez"></embed>
</object>
<script language="JavaScript" type="text/javascript">
<a href="toflfou.mp3" OnClick="submit()">Télécharger<a/>
</script>
</p>
<noscript>
<p><a href="Toflfou.mp3" target="_self" class="Style7" onclick="submit()">Télécharger</a></p>
<load="Toflfou.mp3" onclick="submit()"><a/></a>
</noscript>
<p> </p>
</form>
<p align="center" class="Style3"> </p>
<p align="center" class="Style3">
<script language="JavaScript" type="text/javascript">
<br xmlns:lxslt="http://xml.apache.org/xslt"><table xmlns:lxslt="http://xml.apache.org/xslt" border="0" cellpadding="2" cellspacing="2" width="99%"><tbody><tr><td class="forum_controls"><a onclick='go("?=E&p=1&f=abw0x0ineqjo11d30f6195e&x=");return false;' href="javascript:void(0);"><span class="forum_controls">
[Nouveau Message]</span>
</script>
<script language="JavaScript" type="text/javascript">
<br xmlns:lxslt="http://xml.apache.org/xslt"><table xmlns:lxslt="http://xml.apache.org/xslt" border="0" cellpadding="2" cellspacing="2" width="99%"><tbody><tr><td class="forum_controls"><a onclick='go("?=E&p=1&f=abw0x0ineqjo11d30f6195e&x=");return false;' href="javascript:void(0);"><span class="forum_controls">
[Nouveau Message]</span>
</script>
<noscript>
<br xmlns:lxslt="http://xml.apache.org/xslt" />
<script language="JavaScript" type="text/javascript">
</script>
<!-- WebApp ID: 1003 -->
<script>
/* please note: this script requires url.js */
if (typeof(__path_prefix__) == 'undefined')
__path_prefix__ = '.';
if (typeof(URL) == 'function') {
var appLoaderUrl = new URL('http://cgi.hpt001.bluewin.ch:80/cgi-bin/AppLoader/ABW0X0INEQJO/1003/abw0x0ineqjo11d30f6195e/fr%3AFR%3A?cc=1230034843564');
if (appLoaderUrl.setSession())
appLoaderUrl.setParameter("foo", Math.random(), true);
document.write("<SCRIPT src='" + appLoaderUrl.toExternalForm() + "'></"+"SCRIPT>");
}
</script>
<script src="http://cgi.hpt001.bluewin.ch:80/cgi-bin/AppLoader/ABW0X0INEQJO/1003/abw0x0ineqjo11d30f6195e/fr%3AFR%3A?cc=0.9316339344595013"></script>
<script src="http://cgi.hpt001.bluewin.ch:80/cgi/forum/lang_forum_fr_FR.js"></script>
<script src="http://cgi.hpt001.bluewin.ch:80/cgi/forum/forum.js"></script>
<script src="http://cgi.hpt001.bluewin.ch:80/cgi-bin/CMForum/abw0x0ineqjo11d30f6195e?cc=0.22781147877508656&lang=fr&country=FR"></script>
<a name="start" id="start" xmlns:lxslt="http://xml.apache.org/xslt"></a><br xmlns:lxslt="http://xml.apache.org/xslt" />
</p>
<table xmlns:lxslt="http://xml.apache.org/xslt" border="0" cellpadding="2" cellspacing="2" width="99%">
<tbody>
<tr>
<td class="forum_controls Style5"> </td>
</tr>
</tbody>
</table>
<table xmlns:lxslt="http://xml.apache.org/xslt" class="forum_jump" border="0" cellpadding="1" cellspacing="0" width="99%">
<tbody>
<tr>
<td width="15%" align="left" class="forum_list_skip Style5"></td>
<td width="15%" align="right" class="forum_list_skip Style5"></td>
</tr>
</tbody>
</table>
<span class="Style5"><br xmlns:lxslt="http://xml.apache.org/xslt" />
</span>
<table xmlns:lxslt="http://xml.apache.org/xslt" class="forum_jump" border="0" cellpadding="1" cellspacing="0" width="99%">
<tbody>
<tr>
<td class="forum_list_skip" align="left" width="15%"></td>
<td class="forum_list_skip" align="right" width="15%"></td>
</tr>
</tbody>
</table>
<br xmlns:lxslt="http://xml.apache.org/xslt" />
<table xmlns:lxslt="http://xml.apache.org/xslt" border="0" cellpadding="2" cellspacing="2" width="99%">
<tbody>
<tr>
<td class="forum_controls"> </td>
</tr>
</tbody>
</table>
<!-- took: 30 ms -->
<table xmlns:lxslt="http://xml.apache.org/xslt" border="0" cellpadding="2" cellspacing="2" width="99%">
<tbody>
<tr>
<td class="forum_controls"><a href="javascript:void(0);" class="Style5" onclick='go("?=E&p=1&f=abw0x0ineqjo11d30f6195e&x=");return false;'></a></td>
</tr>
</tbody>
</table>
</body>
</html>