<?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>Infinito Punto Alfa &#187; PHP : ASP : Dinámico</title>
	<atom:link href="http://blog.redvamas.com/noticia/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.redvamas.com</link>
	<description>Hasta los güevos de la 2.0, algo de diseño gráfico, web y concursos.</description>
	<lastBuildDate>Mon, 19 Dec 2011 21:29:03 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Optimizador PHP de Facebook</title>
		<link>http://blog.redvamas.com/972/optimizador-php-de-facebook/</link>
		<comments>http://blog.redvamas.com/972/optimizador-php-de-facebook/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 06:50:22 +0000</pubDate>
		<dc:creator>Animatek</dc:creator>
				<category><![CDATA[PHP : ASP : Dinámico]]></category>

		<guid isPermaLink="false">http://blog.redvamas.com/optimizador-php-de-facebook/</guid>
		<description><![CDATA[Normalmente el código PHP se ejecuta sobre una pequeña máquina virtual llamada Zend, que luego genera código HTML listo para ser entregado a un servidor web (Apache, en la mayoría de los casos). Con HipHop para PHP, el equipo de &#8230; <a href="http://blog.redvamas.com/972/optimizador-php-de-facebook/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://developers.facebook.com/hiphop-php/"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="HipHop-logo[1]" border="0" alt="HipHop-logo[1]" src="http://blog.redvamas.com/wp-content/uploads/2010/02/HipHoplogo1.png" width="213" height="278" /></a> </p>
<p>Normalmente el código PHP se ejecuta sobre una pequeña máquina virtual llamada Zend, que luego genera código HTML listo para ser entregado a un servidor web (Apache, en la mayoría de los casos). Con HipHop para PHP, el equipo de Facebook liderado por Zhao, ensancha el cuello de botella creado por un lenguaje de scripts como PHP para crear a partir de él código equivalente en C++ que puede ser compilado (con GNU GCC) para aprovechar de manera óptima recursos como CPU y memoria. </p>
<p>Haiping Zhao describe los detalles de la creación y el funcionamiento de HipHop para PHP en el blog de desarrolladores de Facebook. Allí podemos enterarnos de que HipHop </p>
<ul>
<li>No es un compilador, estrictamente hablando.</li>
<li>No funciona con Apache, pero esperan que sí lo haga en el futuro.</li>
<li>Desarrollaron un servidor web especializado.</li>
<li>Reduce el uso del CPU hasta en un 50%, comparado con Apache y PHP. </li>
<li>Y hace que Facebook sirva dos veces más tráfico usando 30% menos CPU. </li>
</ul>
<p>Para la comunidad open source la buena noticia es que Facebook libera las 300.000 líneas de código de HipHop con licencia PHP. Con esto, la empresa de Marck Zuckerberg devuelve a la comunidad algo de lo mucho que ha recibido de ella.</p>
<p>Texto de: <a href="http://bitelia.com/2010/02/facebook-comparte-hiphop-optimizador-ph">Bitelia</a></p>
</p>
<p><a href="http://developers.facebook.com/hiphop-php/">HipHop for PHP</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.redvamas.com/972/optimizador-php-de-facebook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tienda onLine : El Rincon Of Spain</title>
		<link>http://blog.redvamas.com/191/tienda-online-el-rincon-of-spain/</link>
		<comments>http://blog.redvamas.com/191/tienda-online-el-rincon-of-spain/#comments</comments>
		<pubDate>Mon, 02 Jul 2007 17:23:17 +0000</pubDate>
		<dc:creator>Animatek</dc:creator>
				<category><![CDATA[.: VA-mas :.]]></category>
		<category><![CDATA[Anuncios : Spots : Reels]]></category>
		<category><![CDATA[CSS : Hojas de Estilo]]></category>
		<category><![CDATA[MySQL : Bases de Datos]]></category>
		<category><![CDATA[PHP : ASP : Dinámico]]></category>
		<category><![CDATA[WEB]]></category>

		<guid isPermaLink="false">http://www.va-mas.com/blog/?p=191</guid>
		<description><![CDATA[Os dejo el enlace a mi último trabajo en la web. Se trata de una tienda de jamones online creada con PHP, CSS y MySQL en ingles y frances. Lo pongo aqui para promocionarlo un poco e ir posicionandolo en &#8230; <a href="http://blog.redvamas.com/191/tienda-online-el-rincon-of-spain/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Os dejo el enlace a mi último trabajo en la web.<br />
Se trata de una tienda de jamones online creada con PHP, CSS y MySQL en ingles y frances.</p>
<p>Lo pongo aqui para promocionarlo un poco e ir posicionandolo en Google&#8230; y bueno, para ver si os gusta.<br />
Aún no está terminado del todo ya que le falta activar el carro de compra, en espera de la cuenta del banco, y hacerle los pequeños ajustes finales, que aunque no son mucho trabajo, siempre es lo que mas cuesta.</p>
<p><a href="http://www.elrinconofspain.com" target="_blank">El Rincon Of Spain:</p>
<p><img src="http://www.va-mas.com/blog/wp-content/uploads/2007/07/eros.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.redvamas.com/191/tienda-online-el-rincon-of-spain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP : Texto : Paginar un TXT.</title>
		<link>http://blog.redvamas.com/60/php-texto-paginar-un-txt/</link>
		<comments>http://blog.redvamas.com/60/php-texto-paginar-un-txt/#comments</comments>
		<pubDate>Wed, 28 Mar 2007 07:31:06 +0000</pubDate>
		<dc:creator>Animatek</dc:creator>
				<category><![CDATA[PHP : ASP : Dinámico]]></category>

		<guid isPermaLink="false">http://www.va-mas.com/blog/?p=60</guid>
		<description><![CDATA[Vamos a paginar una archivo TEXTO.TXT muy largo para verlo por partes. Lo primero que teneis que hacer es generar el archivo o bien descargaros este [boton derecho-&#62;guardar objetivo como] . Luego teneis que crear un archivo .PHP [p.ej.: paginar_texto.php] &#8230; <a href="http://blog.redvamas.com/60/php-texto-paginar-un-txt/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Vamos a paginar una archivo TEXTO.TXT muy largo para verlo por partes.<br />
Lo primero que teneis que hacer es generar el archivo o bien descargaros <a href="http://www.va-mas.com/blog/ejemplos/texto.txt">este</a> [boton derecho-&gt;guardar objetivo como] .<br />
Luego teneis que crear un archivo .PHP [p.ej.: paginar_texto.php] en la misma carpeta donde habeis guardado el .TXT y poner este c&oacute;digo.</p>
<div class="igBar"><span id="lphp-2"><a href="#" onclick="javascript:showPlainTxt('php-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-2">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?php</span></div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//archivo.txt es el archivo que queremos paginar</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$archivo</span>=<a href="http://www.php.net/file"><span style="color:#000066;">file</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">"texto.txt"</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$total</span>=<a href="http://www.php.net/count"><span style="color:#000066;">count</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$archivo</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//Limite es el numero de parrafos que queremos mostrar contando saltos de linea</span></div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$limite</span>=<span style="color:#CC66CC;color:#800000;">10</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.php.net/empty"><span style="color:#000066;">empty</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$pagina</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$pagina</span>=<span style="color:#CC66CC;color:#800000;">1</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">if</span><span style="color:#006600; font-weight:bold;">&#40;</span><a href="http://www.php.net/empty"><span style="color:#000066;">empty</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$emp</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$emp</span>=<span style="color:#CC66CC;color:#800000;">0</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$paginas</span>=<span style="color:#0000FF;">$emp</span>+<span style="color:#0000FF;">$limite</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">for</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$i</span>=<span style="color:#0000FF;">$emp</span>;<span style="color:#0000FF;">$i</span>&lt;<span style="color:#0000FF;">$paginas</span>;<span style="color:#0000FF;">$i</span>++<span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$dato</span>= <span style="color:#0000FF;">$archivo</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#0000FF;">$i</span><span style="color:#006600; font-weight:bold;">&#93;</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#0000FF;">$dato</span>.<span style="color:#FF0000;">"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF0000;">"</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">// mostramos el menú inferior</span></div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"Página : "</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$numerodepaginas</span>=<span style="color:#0000FF;">$total</span>/<span style="color:#0000FF;">$limite</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">for</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$i</span>=<span style="color:#CC66CC;color:#800000;">0</span>;<span style="color:#0000FF;">$i</span>&lt;<span style="color:#0000FF;">$numerodepaginas</span>;<span style="color:#0000FF;">$i</span>++<span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$b</span>=<span style="color:#0000FF;">$i</span>*<span style="color:#0000FF;">$limite</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"&lt;a href="</span>.<span style="color:#0000FF;">$_SERVER</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'PHP_SELF'</span><span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color:#FF0000;">"?pagina=$i&amp;emp=$b&gt; |"</span> . <span style="color:#0000FF;">$i</span> .<span style="color:#FF0000;">"|&lt;/a&gt; "</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">?&gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
<a href="http://www.va-mas.com/blog/ejemplos/paginar_texto.php">ejecutar ejemplo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.redvamas.com/60/php-texto-paginar-un-txt/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PHP : JavaScript :Pasar variables</title>
		<link>http://blog.redvamas.com/33/php-javascript-pasar-variables/</link>
		<comments>http://blog.redvamas.com/33/php-javascript-pasar-variables/#comments</comments>
		<pubDate>Thu, 15 Mar 2007 17:06:21 +0000</pubDate>
		<dc:creator>Animatek</dc:creator>
				<category><![CDATA[AJAX : JavaScript]]></category>
		<category><![CDATA[PHP : ASP : Dinámico]]></category>

		<guid isPermaLink="false">http://www.va-mas.com/blog/?p=33</guid>
		<description><![CDATA[PLAIN TEXT PHP: &#60;?php // declaramos la variable en PHP y le damos un valor $variable = "Variable de PHP"; // cremos otra variable donde metemos el codigo JavaScript $js = '&#60;script type=&#34;text/javascript&#34;&#62;'; // imprimimos en pantalla el valor de &#8230; <a href="http://blog.redvamas.com/33/php-javascript-pasar-variables/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="igBar"><span id="lphp-4"><a href="#" onclick="javascript:showPlainTxt('php-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-4">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?php</span></div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">// declaramos la variable en PHP y le damos un valor</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$variable</span> = <span style="color:#FF0000;">"Variable de PHP"</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">// cremos otra variable donde metemos el codigo JavaScript</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$js</span> = <span style="color:#FF0000;">'&lt;script type=&quot;text/javascript&quot;&gt;'</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">// imprimimos en pantalla el valor de la variable PHP pero desde JS</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$js</span>.= <span style="color:#FF0000;">'&nbsp; document.write(&quot;'</span>.<span style="color:#0000FF;">$variable</span>.<span style="color:#FF0000;">'&quot;);'</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">// declaramos una variable JS y le damos un valor</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$js</span>.= <span style="color:#FF0000;">'&nbsp; var miJS = &quot; impresa en pantalla desde JS&quot;;'</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">// imprimimos en pantalla el valor de esa variable</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$js</span>.= <span style="color:#FF0000;">'&nbsp; document.write(miJS);'</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$js</span>.= <span style="color:#FF0000;">'&lt;/script&gt;'</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">// imprimimos en pantalla la variable donde metimos el JS</span></div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#0000FF;">$js</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">?&gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
<a href="http://www.va-mas.com/blog/ejemplos/variables_phpjs.php">ejecutar ejemplo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.redvamas.com/33/php-javascript-pasar-variables/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>PHP : Contraseñas :Codificación MD5</title>
		<link>http://blog.redvamas.com/25/php-contrasenas-codificacion-md5/</link>
		<comments>http://blog.redvamas.com/25/php-contrasenas-codificacion-md5/#comments</comments>
		<pubDate>Tue, 13 Mar 2007 07:24:24 +0000</pubDate>
		<dc:creator>Animatek</dc:creator>
				<category><![CDATA[PHP : ASP : Dinámico]]></category>

		<guid isPermaLink="false">http://www.va-mas.com/blog/?p=25</guid>
		<description><![CDATA[Las contraseñas se suelen guardar codificadas, para que en caso de que te las quiten, sea mas costoso descifrarlas. Uno de los sistemas de codificación más usados es el MD5 [ver en WikiPedia y en PHP] PLAIN TEXT PHP: &#60;?php &#8230; <a href="http://blog.redvamas.com/25/php-contrasenas-codificacion-md5/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Las contraseñas se suelen guardar codificadas, para que en caso de que te las quiten, sea mas costoso descifrarlas.</p>
<p>Uno de los sistemas de codificación más usados es el MD5 [ver en <a href="http://es.wikipedia.org/wiki/MD5">WikiPedia</a> y en <a href="http://es2.php.net/manual/es/function.md5.php">PHP</a>]</p>
<div class="igBar"><span id="lphp-6"><a href="#" onclick="javascript:showPlainTxt('php-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-6">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?php</span></div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$password</span> = <span style="color:#FF0000;">"contraseña"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$password_codificado</span> = <a href="http://www.php.net/md5"><span style="color:#000066;">md5</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$password</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"Password original: "</span> . <span style="color:#0000FF;">$password</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"Password codificado: "</span> . <span style="color:#0000FF;">$password_codificado</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">?&gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
<a href="http://www.va-mas.com/blog/ejemplos/md5.php">ejecutar ejemplo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.redvamas.com/25/php-contrasenas-codificacion-md5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP : Archivos :Descargas</title>
		<link>http://blog.redvamas.com/13/php-archivos-descargas/</link>
		<comments>http://blog.redvamas.com/13/php-archivos-descargas/#comments</comments>
		<pubDate>Sat, 10 Mar 2007 14:33:35 +0000</pubDate>
		<dc:creator>Animatek</dc:creator>
				<category><![CDATA[PHP : ASP : Dinámico]]></category>

		<guid isPermaLink="false">http://www.va-mas.com/blog/?p=13</guid>
		<description><![CDATA[PLAIN TEXT PHP: &#60;?php // Para descargar diferentes archivos // //&#60;a href=&#34;download.php?file=nombredelarchivo&#34;&#62;Archivo&#60;/a&#62; //$enlace = $_GET[file]; $enlace = "logo.jpg"; header &#40;"Content-Disposition: attachment; filename=".$enlace&#41;; header &#40;"Content-Type: application/octet-stream"&#41;; header &#40;"Content-Length: ".filesize&#40;$enlace&#41;&#41;; readfile&#40;$enlace&#41;; ?&#62; ejecutar ejemplo]]></description>
			<content:encoded><![CDATA[<div class="igBar"><span id="lphp-8"><a href="#" onclick="javascript:showPlainTxt('php-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-8">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?php</span></div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">// Para descargar diferentes archivos //</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//&lt;a href=&quot;download.php?file=nombredelarchivo&quot;&gt;Archivo&lt;/a&gt;</span></div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//$enlace = $_GET[file];</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$enlace</span> = <span style="color:#FF0000;">"logo.jpg"</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/header"><span style="color:#000066;">header</span></a> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">"Content-Disposition: attachment; filename="</span>.<span style="color:#0000FF;">$enlace</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/header"><span style="color:#000066;">header</span></a> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">"Content-Type: application/octet-stream"</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/header"><span style="color:#000066;">header</span></a> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">"Content-Length: "</span>.<a href="http://www.php.net/filesize"><span style="color:#000066;">filesize</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$enlace</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/readfile"><span style="color:#000066;">readfile</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$enlace</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">?&gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
<a href="http://www.va-mas.com/blog/ejemplos/descarga.php">ejecutar ejemplo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.redvamas.com/13/php-archivos-descargas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP : Servidor :Info : Variables del sistema</title>
		<link>http://blog.redvamas.com/10/prueba-codigo/</link>
		<comments>http://blog.redvamas.com/10/prueba-codigo/#comments</comments>
		<pubDate>Fri, 09 Mar 2007 17:59:52 +0000</pubDate>
		<dc:creator>Animatek</dc:creator>
				<category><![CDATA[PHP : ASP : Dinámico]]></category>

		<guid isPermaLink="false">http://www.va-mas.com/blog/?p=10</guid>
		<description><![CDATA[PLAIN TEXT PHP: &#60;?php // diferentes variables del Sistema echo "DATOS DE USUARIO"; echo "IP: ".$REMOTE_ADDR; echo "Navegador: ".$HTTP_USER_AGENT; echo "Idioma: ".$HTTP_ACCEPT_LANGUAGE; echo "DATOS DEL SERVIDOR"; echo "Servidor: ".$HTTP_HOST; echo "IP del servidor: ".$SERVER_ADDR; echo "Nombre del servidor: ".$SERVER_NAME; echo &#8230; <a href="http://blog.redvamas.com/10/prueba-codigo/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><code>
<div class="igBar"><span id="lphp-10"><a href="#" onclick="javascript:showPlainTxt('php-10'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-10">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?php</span></div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">// diferentes variables del Sistema</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"DATOS DE USUARIO"</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"IP: "</span>.<span style="color:#0000FF;">$REMOTE_ADDR</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"Navegador: "</span>.<span style="color:#0000FF;">$HTTP_USER_AGENT</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"Idioma: "</span>.<span style="color:#0000FF;">$HTTP_ACCEPT_LANGUAGE</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"DATOS DEL SERVIDOR"</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"Servidor: "</span>.<span style="color:#0000FF;">$HTTP_HOST</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"IP del servidor: "</span>.<span style="color:#0000FF;">$SERVER_ADDR</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"Nombre del servidor: "</span>.<span style="color:#0000FF;">$SERVER_NAME</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"Puerto del server: "</span>.<span style="color:#0000FF;">$SERVER_PORT</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">// Muestra toda la info de tu servidor</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/phpinfo"><span style="color:#000066;">phpinfo</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#999988;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">?&gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
<a href="http://www.va-mas.com/blog/ejemplos/info.php">ejecutar ejemplo</a><br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.redvamas.com/10/prueba-codigo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

