<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[rendere scaricabile un linkl con mp3]]></title><description><![CDATA[<p dir="auto">Ciao a tutti!<br />
se io metto un normalissimo link per un file mp3</p>
<pre><code>&lt;a href="file.mp3" target="_blank"&gt;ciao&lt;/a&gt;
</code></pre>
<p dir="auto">si apre il player integrato nel browser... io vorrei invece che si scaricasse il file e ti chiedesse "salva con nome" ...<br />
Come posso fare ?</p>
]]></description><link>https://dev.connect.gt/topic/126771/rendere-scaricabile-un-linkl-con-mp3</link><generator>RSS for Node</generator><lastBuildDate>Mon, 30 Nov 2026 00:14:03 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/126771.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 04 May 2010 10:18:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to rendere scaricabile un linkl con mp3 on Tue, 04 May 2010 13:47:20 GMT]]></title><description><![CDATA[<p dir="auto">Ecco quello che ho trovato! è a mio avviso la soluzione più semplice!</p>
<pre><code class="language-php">&lt;?php
// Output buffer to file
$path ='http://';

if(isset($_GET['file'])){
    
    $saveas=$_GET['file'];

    
}



ob_start();

// Query your database and print your content here
print('This is test content!');

// Stop buffer; Only print the buffer var below here and nothing else!
$buffer=ob_get_contents();
ob_end_clean();

header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: private", false);
header("Content-Transfer-Encoding: binary ");
header('Content-Type: application/force-download');
header("Content-Type: application/download");
header('Content-Length: '.strlen($buffer));
header('Content-Disposition: attachment; filename="'.$path.$saveas.'"');

echo $buffer;
?&gt;
</code></pre>
<p dir="auto">Sinceramente tutte le opzioni non so bene che significato abbiano ma il metodo funziona!</p>
]]></description><link>https://dev.connect.gt/post/908660</link><guid isPermaLink="true">https://dev.connect.gt/post/908660</guid><dc:creator><![CDATA[pettedemon]]></dc:creator><pubDate>Tue, 04 May 2010 13:47:20 GMT</pubDate></item><item><title><![CDATA[Reply to rendere scaricabile un linkl con mp3 on Tue, 04 May 2010 13:41:40 GMT]]></title><description><![CDATA[<p dir="auto">Magari se arrivi al giusto risultato postalo qua cosi puo essere di aiuto ad altri utenti. <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=2190ae3dadd" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://dev.connect.gt/post/908672</link><guid isPermaLink="true">https://dev.connect.gt/post/908672</guid><dc:creator><![CDATA[marcocarrieri]]></dc:creator><pubDate>Tue, 04 May 2010 13:41:40 GMT</pubDate></item><item><title><![CDATA[Reply to rendere scaricabile un linkl con mp3 on Tue, 04 May 2010 13:38:45 GMT]]></title><description><![CDATA[<p dir="auto">Grazie!!</p>
]]></description><link>https://dev.connect.gt/post/908658</link><guid isPermaLink="true">https://dev.connect.gt/post/908658</guid><dc:creator><![CDATA[pettedemon]]></dc:creator><pubDate>Tue, 04 May 2010 13:38:45 GMT</pubDate></item><item><title><![CDATA[Reply to rendere scaricabile un linkl con mp3 on Tue, 04 May 2010 12:08:26 GMT]]></title><description><![CDATA[<p dir="auto">Prova a vedere se questo post ti puo essere di aiuto, per riadattarlo alle tue esigenze...</p>
<p dir="auto"><a href="http://www.giorgiotave.it/forum/php-mysql/81361-esportazione-dati-da-mysql-word.html#post504182" rel="nofollow ugc">http://www.giorgiotave.it/forum/php-mysql/81361-esportazione-dati-da-mysql-word.html#post504182</a></p>
]]></description><link>https://dev.connect.gt/post/908650</link><guid isPermaLink="true">https://dev.connect.gt/post/908650</guid><dc:creator><![CDATA[marcocarrieri]]></dc:creator><pubDate>Tue, 04 May 2010 12:08:26 GMT</pubDate></item><item><title><![CDATA[Reply to rendere scaricabile un linkl con mp3 on Tue, 04 May 2010 12:02:18 GMT]]></title><description><![CDATA[<p dir="auto">uso php...</p>
]]></description><link>https://dev.connect.gt/post/908656</link><guid isPermaLink="true">https://dev.connect.gt/post/908656</guid><dc:creator><![CDATA[pettedemon]]></dc:creator><pubDate>Tue, 04 May 2010 12:02:18 GMT</pubDate></item><item><title><![CDATA[Reply to rendere scaricabile un linkl con mp3 on Tue, 04 May 2010 11:57:44 GMT]]></title><description><![CDATA[<p dir="auto">Credo bisogni prima identificare se ti puoi appoggiare ad un linguaggio server, php o asp?</p>
]]></description><link>https://dev.connect.gt/post/908649</link><guid isPermaLink="true">https://dev.connect.gt/post/908649</guid><dc:creator><![CDATA[marcocarrieri]]></dc:creator><pubDate>Tue, 04 May 2010 11:57:44 GMT</pubDate></item></channel></rss>