<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ZoneArtCSS &#124; Desarrollo Web, Diseño de páginas Web, Aplicaciones Móviles, Notas de Tecnología &#187; miguel ort</title>
	<atom:link href="http://www.zoneartcss.com/tag/miguel-ort/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zoneartcss.com</link>
	<description>Tips de Diseño y Desarrollo Web</description>
	<lastBuildDate>Wed, 26 Oct 2011 18:31:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Descargar Archivos con Php desde mi Web</title>
		<link>http://www.zoneartcss.com/webdevelopment/programacion-con-style/descargar-archivos-con-php-desde-mi-web/</link>
		<comments>http://www.zoneartcss.com/webdevelopment/programacion-con-style/descargar-archivos-con-php-desde-mi-web/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 19:54:59 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[Programación con Style]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Content-Disposition]]></category>
		<category><![CDATA[descargar archivos con php]]></category>
		<category><![CDATA[Descargas con php]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[miguel ort]]></category>
		<category><![CDATA[miguel ortega]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[readfile]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[zoneartcss]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/?p=180</guid>
		<description><![CDATA[Este es un tip bueno pero no tan bueno 2 que 3, nos sirve cuando tenemos una web en donde deseamos que nuestros visitantes puedan descargar ciertos archivos que tengamos en Flv, mpg, gif, jpg &#8230;.etc&#8230; Este es un comodo codigo en php para que puedas hacer una descarga facil. Ten cuidado con utilizar este codigo por que algunas personas pueden hacer mal uso de ello y pueden descargar por ejemplo un archivo de configuracion [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p style="text-align: center;"><img class="aligncenter" src="http://www.zoneartcss.com/wp-content/bajar_archivos_php.jpg" alt="descargar archivos con php" width="500" height="130" /></p>
<p>Este es un tip bueno pero no tan bueno 2 que 3, nos sirve cuando tenemos una <a href="http://www.miempresaenlinea.com/paginas-web/programas-para-hacer-crear-y-publicar-paginas-web.aspx">web</a> en donde deseamos que nuestros visitantes puedan descargar ciertos archivos que tengamos en Flv, mpg, gif, jpg &#8230;.etc&#8230; Este es un comodo codigo en php para que puedas hacer una descarga facil.</p>
<p><strong>Ten cuidado con utilizar este codigo</strong> por que algunas personas pueden hacer mal uso de ello y pueden descargar por ejemplo un archivo de configuracion que tengas, en donde contenga el usuario y password de tu base de datos.<br />
<span id="more-180"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?</span>
<span style="color: #000088;">$nombre_archivo</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;video.flv&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$enlace</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;videos/09/<span style="color: #006699; font-weight: bold;">$nombre_archivo</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #990000;">header</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-Disposition: attachment; filename=&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$nombre_archivo</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">header</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-Type: application/octet-stream&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">header</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Content-Length: &quot;</span><span style="color: #339933;">.</span><span style="color: #990000;">filesize</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$enlace</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">readfile</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$enlace</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p> Saludos!!</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdevelopment/programacion-con-style/descargar-archivos-con-php-desde-mi-web/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

