<?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"
	>

<channel>
	<title>Amebastudio Blog</title>
	<atom:link href="http://blog.amebastudio.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.amebastudio.com</link>
	<description>Diseño Web profesional, css, xhtml y más</description>
	<pubDate>Wed, 07 May 2008 02:23:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Variables de Sesión en PHP - $_SESSION</title>
		<link>http://blog.amebastudio.com/tutoriales/variables-de-sesion-en-php-session/</link>
		<comments>http://blog.amebastudio.com/tutoriales/variables-de-sesion-en-php-session/#comments</comments>
		<pubDate>Wed, 07 May 2008 02:20:08 +0000</pubDate>
		<dc:creator>Nacho</dc:creator>
		
		<category><![CDATA[Programación]]></category>

		<category><![CDATA[Tutoriales]]></category>

		<guid isPermaLink="false">http://blog.amebastudio.com/?p=46</guid>
		<description><![CDATA[Las variables de sesión son una herramienta muy importante y potente a la hora de codificar grandes sitios, nos permite  tener información almacenada de cada usuario, teniendo asi la oportunidad de recuperar ciertos datos          sin la necesidad de mostrar variables en el URL ni cosas raras, es algo asi como una cookie (incluso su funcionamiento  [...]]]></description>
			<content:encoded><![CDATA[<p>Las variables de sesión son una herramienta muy importante y potente a la hora de codificar grandes sitios, nos permite  tener información almacenada de cada usuario, teniendo asi la oportunidad de recuperar ciertos datos          sin la necesidad de mostrar variables en el URL ni cosas raras, es algo asi como una cookie (incluso su funcionamiento   es parecido).</p>
<p><span id="more-46"></span></p>
<p>Es importante destacar que estoy usando para este tutorial el <a href="http://www.apache.org/" target="_blank">apache</a> con REGISTER_GLOBALS en <strong>OFF,</strong> ya que con el valor ON las cosas cambian un poquito, pero siempre se recomienda por seguridad tenerlo en OFF.</p>
<p>Bien!, empecemos.</p>
<p>Para dar inicio al uso de las variables de sesión es necesario dar la instrucción de eso, para esto usamos:</p>
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">/* iniciamos la sesion ANTES de cualquier salida html */</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/session_start"><span style="color:#000066;">session_start</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Como dice en el código, el session_start(); debe ir ANTES de cualquier salida HTML. Un error comun es poner esta linea despues del &lt;html&gt;, mal!!!, porque ahí ya se han enviado las cabeceras (esto también se da en las cookies).</p>
<p>Bien, habiendo iniciado el uso de variables de sesión, es cuestión de empezar a darle valores, como se hace esto?, como en cualquier variable. Incluso notaran que la variable sesión tiene forma de arreglo (Array).</p>
<div class="igBar"><span id="lphp-5"><a href="#" onclick="javascript:showPlainTxt('php-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-5">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">/* Le ingresamos un valor de 1 a una variable de session</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">llamada carga y la mostramos */</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$_SESSION</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'carga'</span><span style="color:#006600; font-weight:bold;">&#93;</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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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;">$_SESSION</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'carga'</span><span style="color:#006600; font-weight:bold;">&#93;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>bien, como verán no hay nada raro en esto, la variable de sesion se puede manejar como cualquier otra variable (Recuerden, cuando REGISTER_GLOBALS esta en ON es otra cosa).</p>
<p>Ahora, para terminar, vamos a comprobar si  la variable de sesion "carga" esta seteada o no</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:#EE8419;">
<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/isset"><span style="color:#000066;">isset</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$_SESSION</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'carga'</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<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;">"La variable de sesion Carga esta seteada"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<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:#26536A;">
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">else</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<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;">"La variable de sesion Carga NO esta seteada"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Bueno espero que les haya sido útil!!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amebastudio.com/tutoriales/variables-de-sesion-en-php-session/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Botones con efecto plástico en Adobe Photoshop</title>
		<link>http://blog.amebastudio.com/tutoriales/botones-con-efecto-plastico-en-adobe-photoshop/</link>
		<comments>http://blog.amebastudio.com/tutoriales/botones-con-efecto-plastico-en-adobe-photoshop/#comments</comments>
		<pubDate>Tue, 06 May 2008 17:59:10 +0000</pubDate>
		<dc:creator>Nacho</dc:creator>
		
		<category><![CDATA[Tutoriales]]></category>

		<guid isPermaLink="false">http://blog.amebastudio.com/?p=33</guid>
		<description><![CDATA[Bueno, con este tutorial pretendo explicar como hacer los tan usados Botones con efecto plastico en Photoshop.
.

Lo primero que vamos a hacer es crear un nuevo lienzo (Ctrl+N) de 400 pixeles de ancho por 400 pixeles de alto (400x400).

Teniendo esto, vamos a crear el botón, que en este caso consistirá en un circulo, asi que [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft alignnone size-full wp-image-45" style="float: left; margin-top: 0px; margin-bottom: 0px; margin-left: 20px; margin-right: 20px;" title="Boton terminado" src="http://blog.amebastudio.com/wp-content/uploads/2008/05/img-111.jpg" alt="" width="164" height="128" />Bueno, con este tutorial pretendo explicar como hacer los tan usados Botones con efecto plastico en Photoshop.</p>
<p>.</p>
<p><span id="more-33"></span></p>
<p>Lo primero que vamos a hacer es crear un nuevo lienzo (Ctrl+N) de 400 pixeles de ancho por 400 pixeles de alto (400x400).</p>
<p><img class="alignnone size-full wp-image-32" title="Lienzo en blanco" src="http://blog.amebastudio.com/wp-content/uploads/2008/05/img-11.jpg" alt="" /></p>
<p>Teniendo esto, vamos a crear el botón, que en este caso consistirá en un circulo, asi que vamos a la herramienta de seleccion de circulo (M), y realizamos una seleccion manteniendo apretada la tecla (Shift) para asegurarnos una circunferencia perfecta. La circunferencia que utilizo en el ejemplo tiene un diametro de 130 pixeles.  Luego de haber creado la seleccion, creamos una nueva capa y rellenamos la seleccion de un color, preferiblemente que no sea negro ni blanco. En mi caso usare un verde (en Hexadecimal #78ad04).</p>
<p><img class="alignnone size-full wp-image-34" title="Circulo Verde" src="http://blog.amebastudio.com/wp-content/uploads/2008/05/img-2.jpg" alt="" /></p>
<p>Bien, ahora quizas viene lo mas difícil, crearemos el reflejo.  Primero, con la circunferencia todavía seleccionada, iremos al menú Selección &gt;&gt; Modificar &gt;&gt; Contraer  y pondremos un valor de 4 pixeles.</p>
<p><img class="alignnone size-full wp-image-35" title="Contraer Seleccion" src="http://blog.amebastudio.com/wp-content/uploads/2008/05/img-3.jpg" alt="" width="500" height="444" /></p>
<p>Bien, le damos a "OK" y nos debería quedar una selección como la anterior pero mas pequeña.</p>
<p><img class="alignnone size-full wp-image-36" title="Seleccion contraida" src="http://blog.amebastudio.com/wp-content/uploads/2008/05/img-4.jpg" alt="" /></p>
<p>Porque hacemos esto?, simplemente porque no se veria bien que el reflejo de la luz empezara desde el borde, debido a que nos quitaria la ilusión de relieve del botón.  Bien, lo complicado, ahora vamos a realizar una INTERSECCION de selecciones.  Teniendo la seleccion contraida anteriormente haremos esto, tomaremos nuevamente la herramienta de selección elíptica (M) <img class="alignnone size-full wp-image-37" title="Herramienta seleccionar" src="http://blog.amebastudio.com/wp-content/uploads/2008/05/tool-1.jpg" alt="" width="41" height="36" /> y haremos una nueva selección de circunferencia pero esta vez como intersección: apretando al mismo tiempo las teclas Shift+Alt (izquierdos) haremos click en la esquina inferior izquierda del lienzo e iremos subiendo hasta que la mitad de nuestro boton este seleccionado con esta nueva selección, en ese momento soltaremos el boton del mouse, y deberia formarse una interseccion con la seleccion anterior.</p>
<p><img class="alignnone size-full wp-image-38" title="Interseccion" src="http://blog.amebastudio.com/wp-content/uploads/2008/05/img-5.jpg" alt="" /></p>
<p>Bien!, pasó lo complicado. Ahora simplemente haremos un degradado en esa seleccion, por lo tanto primero que nada crearan un Layer (Capa) nueva, y pintaremos un degradado de Blanco a Nada, o sea Blanco (alpha 100%) a Blanco (alpha 0%). Para hacer esto deben ir a la paleta y elegir el color Blanco, luego con la herramienta Degradado seleccionada, van al menu de esta herramienta, situada arriba, y seleccionan la segunda muestra, y por ultimo ponen degradado tipo RADIAL.</p>
<p><img class="alignnone size-full wp-image-39" title="Degradado" src="http://blog.amebastudio.com/wp-content/uploads/2008/05/img-6.jpg" alt="" width="500" height="444" /></p>
<p>Y listo, ahora realizamos nuestro degradado en la selección, simplemente arrastramos desde abajo hacia arriba hasta que vean que queda como les gusta.</p>
<p><img class="alignnone size-full wp-image-40" title="Reflejo de boton realizado" src="http://blog.amebastudio.com/wp-content/uploads/2008/05/img-7.jpg" alt="" /></p>
<p>Presionamos Ctrl+D para deseleccionar.  Con el reflejo hecho, ya solo nos faltan algunos retoques, que por suerte solo hay que tildar checkboxs y ajustar niveles ;). Esto lo haremos con los estilos de capa en la capa del Boton, haciendo doble click del lado derecho del layer en la lista.</p>
<p><img class="alignnone size-full wp-image-41" title="Estilos" src="http://blog.amebastudio.com/wp-content/uploads/2008/05/img-8.jpg" alt="" width="500" height="444" /></p>
<p>Accedemos ahora a los estilos de la capa del boton.  Primero pondremos un Resplandor Exterior, en modo Normal y de color #454545, tal como se muestra en la imagen.</p>
<p><img class="alignnone size-full wp-image-43" title="Estilos de capa" src="http://blog.amebastudio.com/wp-content/uploads/2008/05/img-9.jpg" alt="" width="500" height="404" /></p>
<p>Luego Activaremos Resplandor Interior y pondremos los siguientes valores. El color es el mismo que usa para el boton pero un poco mas obscuro. Creanme que hace la diferencia.</p>
<p><img class="alignnone size-full wp-image-44" title="Resplandor Interior" src="http://blog.amebastudio.com/wp-content/uploads/2008/05/img-10.jpg" alt="" width="500" height="404" /></p>
<p>Y listo, terminado, le dan ok a los estilos y les debería quedar algo así:  <img class="alignnone size-full wp-image-45" title="Boton terminado" src="http://blog.amebastudio.com/wp-content/uploads/2008/05/img-111.jpg" alt="" /></p>
<p>Obviamente hay miles de formas de realizar esto mismo, hay más faciles, más dificiles, e incluso con mas efecto de realismo, pero bueno creo que esta forma no ha sido tan dificil, o si?. Todo es cuestion de experimentar, por ejemplo, prueben que pasaria poniendole un poco de Desenfoque gaussiano al reflejo, verán que se pierde un poco el efecto plastico pero que de todas formas queda muy bien.  Espero les haya sido útil el tutorial :).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amebastudio.com/tutoriales/botones-con-efecto-plastico-en-adobe-photoshop/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Por qué no hay que usar Microsoft Internet Explorer</title>
		<link>http://blog.amebastudio.com/general/no-usar-microsoft-internet-explorer/</link>
		<comments>http://blog.amebastudio.com/general/no-usar-microsoft-internet-explorer/#comments</comments>
		<pubDate>Mon, 05 May 2008 18:26:48 +0000</pubDate>
		<dc:creator>Nacho</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.amebastudio.com/?p=29</guid>
		<description><![CDATA[Nosotros los webmasters, estamos al tanto de muchas cosas sobre los exploradores, que a  los ojos del usuario comun, son invisibles. Una de estas cosas es el incumplimiento por parte de Microsoft de brindar un navegador de internet compatible con los estándares Web.
Microsoft Internet Explorer no solo no respeta los estandares sino que también:
- Es [...]]]></description>
			<content:encoded><![CDATA[<p>Nosotros los webmasters, estamos al tanto de muchas cosas sobre los exploradores, que a  los ojos del usuario comun, son invisibles. Una de estas cosas es el incumplimiento por parte de Microsoft de brindar un navegador de internet compatible con los estándares Web.</p>
<p>Microsoft Internet Explorer no solo no respeta los estandares sino que también:</p>
<p>- Es anticuado, incluso versiones nuevas, no permiten agregados para mejorar su usabilidad o simplemente personalizar la interfaz.</p>
<p>- Fallos de seguridad por todos lados, que incluso no tienen interes en solucionar.</p>
<p>- Obligan al Diseñador web a realizar 2 versiones de un sitio, ya que Internet Explorer no es un Explorador estandarizado, por lo tanto interpreta el codigo a su antojo.</p>
<p>- Viene por defecto en la distribución Windows (en cualquier version a partir de la 95), cuestión por la que se le hicieron varios juicios. Esto le permite tener la mayor porción del mercado, entregando un pésimo producto, y peligroso para el usuario.</p>
<p>Lo triste es que la gente no sabe esto, o no le importa. Pero a nosotros nos complica la vida, haciendonos trabajar el doble.</p>
<p>Exploradores recomendados:</p>
<p>- <a href="http://www.firefox.com" target="_blank">Mozzilla Firefox</a> (el mejor a mi punto de vista)</p>
<p>- <a href="http://www.opera.com" target="_blank">Opera</a> (muy confiable)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amebastudio.com/general/no-usar-microsoft-internet-explorer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Encuestas en tu blog Wordpress</title>
		<link>http://blog.amebastudio.com/wordpress/encuestas-en-tu-blog-wordpress/</link>
		<comments>http://blog.amebastudio.com/wordpress/encuestas-en-tu-blog-wordpress/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 14:34:12 +0000</pubDate>
		<dc:creator>Nacho</dc:creator>
		
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.amebastudio.com/?p=28</guid>
		<description><![CDATA[Navegando por ahí y buscando cosas, encontré un plugin para wordpress (incluso para la versión 2.5) que nos permite armar y administrar encuestas para ser visualizadas en nuestro blog, como se muestra aquí por ejemplo Web Ejemplo en el sidebar.
El Plugin se llama WP-Poll y lo pueden descargar desde esa misma página, solo deben buscarlo [...]]]></description>
			<content:encoded><![CDATA[<p>Navegando por ahí y buscando cosas, encontré un plugin para wordpress (incluso para la versión 2.5) que nos permite armar y administrar encuestas para ser visualizadas en nuestro blog, como se muestra aquí por ejemplo <a href="http://www.elcontenedor.com.ar" target="_blank">Web Ejemplo</a> en el sidebar.</p>
<p>El Plugin se llama <a href="http://lesterchan.net/portfolio/programming.php">WP-Poll</a> y lo pueden descargar desde esa misma <a href="http://lesterchan.net/portfolio/programming.php">página</a>, solo deben buscarlo en la lista.</p>
<p>La utilización es muy fácil, pueden hacerlo manualmente editando el php del sidebar por ejemplo y agregando el código necesario o también nos permite poner la encuesta mediante Widget, por lo tanto si tenemos un sidebar "Widgetizado" sera mucho mas fácil.</p>
<p>Espero les sirva!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amebastudio.com/wordpress/encuestas-en-tu-blog-wordpress/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Apple lanza el explorador Safari para Windows</title>
		<link>http://blog.amebastudio.com/noticias/nuevo-explorador-safari-windows/</link>
		<comments>http://blog.amebastudio.com/noticias/nuevo-explorador-safari-windows/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 14:37:57 +0000</pubDate>
		<dc:creator>Nacho</dc:creator>
		
		<category><![CDATA[Noticias]]></category>

		<guid isPermaLink="false">http://blog.amebastudio.com/nuevo-explorador-safari-windows/</guid>
		<description><![CDATA[
Apple lanzó el famoso explorador hasta el momento exclusivo de Mac, para Windows.
Cuenta con exploración con Tabs, suavizado de fuentes entre otras cosas.  Realmente vale la pena probarlo.
A mi punto de vista, un poco lento para cargar, más aún que Mozilla Firefox.
Pueden descargar Safari para Microsoft Windows aquí: Descargar 
Les dejo algunos Screenshots:
   
]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.amebastudio.com/wp-content/uploads/2008/03/post_safari.jpg" alt="Explorador Safari para Windows" /></p>
<p>Apple lanzó el famoso explorador hasta el momento exclusivo de Mac, para Windows.</p>
<p>Cuenta con exploración con Tabs, suavizado de fuentes entre otras cosas.  Realmente vale la pena probarlo.</p>
<p>A mi punto de vista, un poco lento para cargar, más aún que Mozilla Firefox.</p>
<p>Pueden descargar Safari para Microsoft Windows aquí: <a href="http://www.apple.com/safari/download/" target="_blank">Descargar </a></p>
<p>Les dejo algunos Screenshots:</p>
<p><a href="http://blog.amebastudio.com/wp-content/uploads/2008/03/screnn1.jpg" title="Screenshot 1"><img src="http://blog.amebastudio.com/wp-content/uploads/2008/03/screnn1.thumbnail.jpg" alt="Screenshot 1" /></a>   <a href="http://blog.amebastudio.com/wp-content/uploads/2008/03/screnn2.jpg" title="Screenshot 2"><img src="http://blog.amebastudio.com/wp-content/uploads/2008/03/screnn2.thumbnail.jpg" alt="Screenshot 2" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amebastudio.com/noticias/nuevo-explorador-safari-windows/feed/</wfw:commentRss>
		</item>
		<item>
		<title>URLs Amigables en foros PHPBB3</title>
		<link>http://blog.amebastudio.com/tutoriales/url-amigable-mod-rewrite-phpbb3/</link>
		<comments>http://blog.amebastudio.com/tutoriales/url-amigable-mod-rewrite-phpbb3/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 18:51:06 +0000</pubDate>
		<dc:creator>Nacho</dc:creator>
		
		<category><![CDATA[Tutoriales]]></category>

		<guid isPermaLink="false">http://blog.amebastudio.com/url-amigable-mod-rewrite-phpbb3/</guid>
		<description><![CDATA[Investigando un poco por la web guiado por la necesidad de instalar un foro que pueda posicionar (sin gastar en un VBulletin) me encontré con varios mods para hacer "URLs amigables" para PHPBB3. Uno de ellos es el "SEO_MOD".
El MOD consiste en hacer varias (bastantes) modificaciones a diversos archivos del sistema del foro y agregar [...]]]></description>
			<content:encoded><![CDATA[<p>Investigando un poco por la web guiado por la necesidad de instalar un foro que pueda posicionar (sin gastar en un VBulletin) me encontré con varios mods para hacer "URLs amigables" para PHPBB3. Uno de ellos es el "SEO_MOD".</p>
<p>El MOD consiste en hacer varias (bastantes) modificaciones a diversos archivos del sistema del foro y agregar un registro en la base de datos.</p>
<p>Pero bueno, como me he tomado la molestia de hacerlo, les dejo aquí un ZIP el cual contiene la estructura de directorios del PHPBB, asi de esta forma solo arrastran y pisan.</p>
<p><span id="more-22"></span></p>
<p><font color="#ff0000">ATENCION!!!: NO INSTALAR SI SE TIENEN OTROS MODS YA INSTALADOS EN EL FORO!</font></p>
<p><font color="#ff0000">ANTES QUE NADA ESTEN SEGUROS QUE DE QUE EL SERVIDOR TIENE HABILITADO EL MOD_REWRITE, DE LO CONTRARIO NO FUNCIONARÁ. </font></p>
<p><a href="http://blog.amebastudio.com/wp-content/uploads/2008/02/mod_url_amigable_phpbb3.zip" title="BAJAR ARCHIVO ZIP">BAJAR ARCHIVO ZIP</a></p>
<p>Instalación:</p>
<p>1)  Ejecutar la siguiente instruccion SQL en la base de datos del foro:</p>
<p><font color="#ff0000">      INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('seo_ext', 'html', 0); </font></p>
<p>2) Descomprimir todos los Archivos del ZIP a la raiz del foro reemplazando los archivos.</p>
<p>Y LISTO! checkeen los links a los distintos foros y temas y veran que la url contiene el titulo del foro/tema y ademas es un html.</p>
<p>Espero les sirva <img src='http://blog.amebastudio.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amebastudio.com/tutoriales/url-amigable-mod-rewrite-phpbb3/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Apple lanza la nueva MacBook Air, la laptop más delgada del mercado</title>
		<link>http://blog.amebastudio.com/noticias/macbook-air-la-laptop-mas-fina/</link>
		<comments>http://blog.amebastudio.com/noticias/macbook-air-la-laptop-mas-fina/#comments</comments>
		<pubDate>Wed, 16 Jan 2008 11:50:50 +0000</pubDate>
		<dc:creator>Nacho</dc:creator>
		
		<category><![CDATA[Noticias]]></category>

		<guid isPermaLink="false">http://blog.amebastudio.com/macbook-air-la-laptop-mas-fina/</guid>
		<description><![CDATA[
Apple nos soprende ahora con su nueva laptop ultra delgada, la más delgada del mercado. Pensada especialmente para personas que viajan, la MacBook además de gozar de su físico privilegiado tiene todas las características para quien necesita estar conectado 100%.
Tiene un procesador  Intel Core Duo de 1,6 Ghz o 1,8 Ghz(segun se elija). Cuenta [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.amebastudio.com/wp-content/uploads/2008/02/mac_post.jpg" alt="Mc Book Air" /><br />
Apple nos soprende ahora con su nueva laptop ultra delgada, la más delgada del mercado. Pensada especialmente para personas que viajan, la MacBook además de gozar de su físico privilegiado tiene todas las características para quien necesita estar conectado 100%.</p>
<p>Tiene un procesador  <strong>Intel Core Duo de 1,6 Ghz o 1,8 Ghz</strong>(segun se elija). Cuenta con un <strong>HD de 80 Gb</strong> (quizas aquí se han quedado un poco cortos)  que tiene la opción de un upgrade que consistiría en colocarle solamente 64Gb pero de memoria de estado sólido, o sea, cero mecánica ni movimiento por lo tanto más vida útil.</p>
<p>En cuanto a la capacidad de la batería es bastante buena teniendo en cuenta las caracteristicas de esta laptop. Segun Apple, tiene <strong>5 horas de autonomía</strong> usando WI-FI.</p>
<p>Su <strong>patalla es de 13.3 pulgadas</strong> y tiene integrada una pequeña camara web.</p>
<p>Una de las cosas que más me llamo la atención es el pequeño pad con el que solemos mover el puntero, en la MacBook Air Apple implementó el pad "Multi-Touch" con el cual podemos hacer cosas no solo con un dedo sino con varios, por ejemplo podemos agrandar una foto poniendo ambos dedos en el pad e ir separandolos. Me pareció genial realmente.</p>
<p>Y por último pero no menos importante, su precio en EE.UU comienza en los <strong>U$S 1799</strong></p>
<p>Pueden ver más en <a href="http://www.apple.com/macbookair/" title="MacBook Air" target="_blank">Apple - MacBook Air (inglés)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amebastudio.com/noticias/macbook-air-la-laptop-mas-fina/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Como usar los CUSTOM FIELDS de Wordpress.</title>
		<link>http://blog.amebastudio.com/tutoriales/como-usar-los-custom-fields-de-wordpress/</link>
		<comments>http://blog.amebastudio.com/tutoriales/como-usar-los-custom-fields-de-wordpress/#comments</comments>
		<pubDate>Fri, 11 Jan 2008 20:35:56 +0000</pubDate>
		<dc:creator>Nacho</dc:creator>
		
		<category><![CDATA[Programación]]></category>

		<category><![CDATA[Tutoriales]]></category>

		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.amebastudio.com/como-usar-los-custom-fields-de-wordpress/</guid>
		<description><![CDATA[
Bueno como habrán visto los bloguers que usan Wordpress es que en las últimas versiones ah aparecido algo en la página de entradas llamado Custom field ("Datos meta" como se vera mas adelante). Este campo 'Personalizado' nos permite agregar contenido a nuestro blog, e incluso son utilizados por plugins para meter su contenido, asi lo [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.amebastudio.com/wp-content/uploads/2008/02/post_wordp.jpg" alt="Wordpress" /><br />
Bueno como habrán visto los bloguers que usan <a title="Wordpress" href="http://www.wordpress.org" target="_blank">Wordpress</a> es que en las últimas versiones ah aparecido algo en la página de entradas llamado Custom field ("Datos meta" como se vera mas adelante). Este campo 'Personalizado' nos permite agregar contenido a nuestro blog, e incluso son utilizados por plugins para meter su contenido, asi lo hace el plugin "<a title="Add meta tags plugin" href="http://www.g-loaded.eu/2006/01/05/add-meta-tags-wordpress-plugin/" target="_blank">Add meta tags</a>" que nos permite colocar mediante campos llamados "description" y "keywords", la descripción y las palabras claves para cada página del blog.</p>
<p><span id="more-16"></span></p>
<p>Pero bueno, no todo es tan fácil. No es que uno ingresa datos a un custom field y magicamente aparece donde queremos, No, ojala fuera asi pero no habría forma exacta indicarlo.</p>
<p>Por eso, para los que se animan a modificar el <a title="Template Wiki" href="http://es.wikipedia.org/wiki/Template_Method_(patr%C3%B3n_de_dise%C3%B1o)" target="_blank">Template (plantilla)</a>, hay una función para PHP de Wordpress llamada "<strong>get_post_meta(argumentos)</strong>" que nos permite recuperar esos datos.</p>
<p>Esta función se usa de esta manera:</p>
<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:#EE8419;">
<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> get_post_meta<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$post</span>-&amp;gt;ID, <span style="color:#FF0000;">'nota'</span>, <span style="color:#0000FF;">$single</span> = <span style="color:#000000; font-weight:bold;">true</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">?&amp;gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Como verán "<strong>get_post_meta</strong>" tiene tres argumentos, el primero ($post-&gt;ID) hace referencia al post en donde se ingreso el campo personalizado, por lo general va a ser el mismo POST donde van a imprimir el campo en cuestión. Si quisieramos por ejemplo traer un dato de un campo personalizado de un post "padre"(un nivel más arriba) al que estamos situados sería $post-&gt;post_parent.</p>
<p>El segundo argumento ('nota'), es un string que hace referencia al nombre del custom field del cual queremos imprimir el contenido, en este caso yo quise imprimir en pantalla lo que habia en el campo "nota".</p>
<p>El tercer argumento puede ser <strong><span style="color: #99cc00;">true</span></strong> o<strong> <span style="color: #000000;">false</span></strong>, si es <strong><span style="color: #99cc00;">true</span></strong> la función devolverá un resultado solo, en cambio si ponemos false esta devolverá un Array.</p>
<p>Noten que antes de llamar a la función hay un <strong>echo</strong>, eso es porque yo decidí mostrar los resultados, pero si se desea se puede también asignar a una variable y trabajar el resultado de esa función. Esto permite un gran abanico de opciones a la hora de ingresar contenido a nuestro blog y hacerlo más dinámico.</p>
<p>Hay varias funciones que permiten manejar el contenido de estos campos personalizados, les recomiendo se den una vuelta por el <a title="Wordpress Codex" href="http://codex.wordpress.org/Using_Custom_Fields" target="_blank">Codex de Wordpress</a> <img src='http://blog.amebastudio.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amebastudio.com/tutoriales/como-usar-los-custom-fields-de-wordpress/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tendencia de exploradores de internet sobre 100.000 visitas - IE a la cabeza</title>
		<link>http://blog.amebastudio.com/tendencias/tendencia-exploradores-internet-explorer/</link>
		<comments>http://blog.amebastudio.com/tendencias/tendencia-exploradores-internet-explorer/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 15:35:28 +0000</pubDate>
		<dc:creator>Nacho</dc:creator>
		
		<category><![CDATA[Tendencias]]></category>

		<guid isPermaLink="false">http://blog.amebastudio.com/tendencia-exploradores-internet-explorer/</guid>
		<description><![CDATA[Mirando un poco las estadísticas de Google Analytics en uno de nuestros sitios, que tiene aproximadamente 5000 visitas por día, vimos la clara tendencia de Internet Explorer por sobre los demás. Fue una sorpresa ver que de un periodo dado de tiempo que contemplaba unas 100.000 visitas Mozilla Firefox solo era el 15% de los [...]]]></description>
			<content:encoded><![CDATA[<p align="left">Mirando un poco las estadísticas de <a href="http://www.google.com/analytics" target="_blank" title="Google Analytics">Google Analytics</a> en uno de nuestros sitios, que tiene aproximadamente 5000 visitas por día, vimos la clara tendencia de <a href="http://www.microsoft.com/spain/windows/ie/default.mspx" target="_blank" title="Internet Explorer">Internet Explorer</a> por sobre los demás. Fue una sorpresa ver que de un periodo dado de tiempo que contemplaba unas 100.000 visitas <a href="http://www.firefox.com" target="_blank" title="Mozilla Firefox">Mozilla Firefox </a>solo era el 15% de los exploradores.  IE es prioridad a la hora de maquetar y programar (una lástima).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amebastudio.com/tendencias/tendencia-exploradores-internet-explorer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP - Conectar con una base de datos e imprimir una consulta</title>
		<link>http://blog.amebastudio.com/tutoriales/php-conexion-base-de-datos/</link>
		<comments>http://blog.amebastudio.com/tutoriales/php-conexion-base-de-datos/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 03:04:52 +0000</pubDate>
		<dc:creator>Nacho</dc:creator>
		
		<category><![CDATA[Programación]]></category>

		<category><![CDATA[Tutoriales]]></category>

		<guid isPermaLink="false">http://blog.amebastudio.com/php-conexion-base-de-datos/</guid>
		<description><![CDATA[Bueno, para comenzar con los tutoriales y entrando más en el tema del diseño web, he querido empezar con un tutorial básico de como conectar a una base de datos MySQL y realizar una consulta sencilla a una tabla.
No quiero solamente poner un código para copiar y pegar, pretendo explicar bien para que se utiliza [...]]]></description>
			<content:encoded><![CDATA[<p>Bueno, para comenzar con los tutoriales y entrando más en el tema del diseño web, he querido empezar con un tutorial básico de como conectar a una base de datos MySQL y realizar una consulta sencilla a una tabla.</p>
<p>No quiero solamente poner un código para copiar y pegar, pretendo explicar bien para que se utiliza cada función y asi demostrar que php como todos los lenguajes de programación tienen cierta logica y que cualquiera la puede entender.</p>
<p>Espero les ayude ;).</p>
<p><span id="more-9"></span></p>
<p>Bueno, para empezar tenemos que tener una base de datos MySQL creada en el servidor MySQL (valga la redundancia) un servidor Web Apache y por supuesto, el interprete php (les recomiendo bajarse el <a href="http://appserv.uptodown.com">Appserv</a> y se ahorrarán instalar todo por separado). Yo en este tutorial voy a usar una BD (base de datos) llamada <strong>registrados</strong>, la cual contiene una tabla llamada usuarios, que a su vez tiene los siguientes campos (id_usuario, nombre, password).</p>
<p>Abajo adjunto una imagen en la que vagamente muestro la estructura de la base de datos, con la tabla y sus campos.</p>
<p><img src="http://blog.amebastudio.com/wp-content/uploads/2007/11/post_php_db.jpg" alt="Estructura de la base de datos" /></p>
<p>Una vez definido esto procederemos con el php para conectar y realizar la consulta a la base de datos.</p>
<p>Supongamos que creamos en nuestro servidor HTTP una carpeta llamada "consulta" y dentro de ella crearemos un archivo llamado <strong>"index.php". </strong>De modo que sea accesible por ejemplo, de esta forma "<strong><a href="http://[root_del_servidor]/consulta/index.php">http://[root_del_servidor]/consulta/index.php</a></strong>".</p>
<h3><u>Index.php</u></h3>
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&amp;lt;?php</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">/* AQUI REALIZAREMOS NUESTRA CONEXION */</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/mysql_connect"><span style="color:#000066;">mysql_connect</span></a> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">"localhost"</span>, <span style="color:#FF0000;">"usuario"</span>, <span style="color:#FF0000;">"password"</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">/* mysql_connect conecta al servidor mysql, y para</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">hacerlo necesita saber 3 cosas, la primera es en donde</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">esta el servidor, por lo general el servidor mysql esta</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">en la misma maquina donde se ejecuta el script, por lo</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">tanto el 99% de las veces es &quot;localhost&quot;. Luego</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">se necesita el nombre de usuario que tiene los permisos</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">necesarios para acceder al servidor, asi como tambien</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">su contraseña */</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/mysql_select_db"><span style="color:#000066;">mysql_select_db</span></a> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">"registrados"</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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">/* mysql_select_db lo que hace es recibir el nombre de</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">la base de datos con la que deseamos trabajar, es el unico</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">parametro de esta funcion. En este caso es &quot;registrados&quot;. */</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">/* BIEN, YA ESTAMOS CONECTADOS AL SERVIDOR Y A LA</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">BASE DE DATOS, AHORA LO QUE NECESITAMOS ES DECIRLE</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">AL SERVIDOS MYSQL QUE ES LO QUE QUEREMOS OBTENER</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">DE ESA BASE DE DATOS.*/</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$sql</span> = <span style="color:#FF0000;">"SELECT * FROM usuarios"</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">/* Bien, lo que acabo de hacer es asignar a una variable</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">la cadena de consulta SQL que voy a usar para decirle al</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">servidor los datos que quiero obtener. Seria algo asi:</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&quot;SELECCIONAR todo DE usuarios. */</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0000FF;">$consulta_sql</span> = <a href="http://www.php.net/mysql_query"><span style="color:#000066;">mysql_query</span></a> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$sql</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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">/* mysql_query lo que hace es comunicar al servidor</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">MySQL la consulta que se hará sobre la base de datos,</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">y esta función nos entrega un identificador para que</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">podamos luego recuperar los resultados */</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">while</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$row</span> = <a href="http://www.php.net/mysql_fetch_array"><span style="color:#000066;">mysql_fetch_array</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$consulta</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:"</span>.<span style="color:#0000FF;">$row</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'nombre'</span><span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color:#FF0000;">"&amp;lt;br&amp;gt;"</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<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:"</span>.<span style="color:#0000FF;">$row</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#FF0000;">'password'</span><span style="color:#006600; font-weight:bold;">&#93;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<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:#26536A;">
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">/* Bueno quizas esto es lo mas difícil de entender, lo</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">que hicimos aca es un bucle del tipo while por la sencilla</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">razon de que debemos recorrer todos los datos arrojados</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">de la base y no solo uno, pero vamos por partes.</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;"></li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">mysql_fetch_array($identificador) lo que hace es</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">construir un Array a partir de un identificador arrojado</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">por el servidor MySQL el cual contiene una referencia</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">a un juego de resultados. En este caso le pasamos el</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">identificador $consulta.</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;"></li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">El bucle significa esto: MIENTRAS HAYA DATOS PARA</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">ASIGNAR A LA VARIABLE $ROW (array) MOSTRAR</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">EL NOMBRE Y EL PASSWORD. (esto lo hará tantas</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">veces como juego de datos (filas de la tabla) haya).</span></div>
</li>
<li style="font-weight: bold;color:#26536A;"></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">el array, en este caso $row tiene como indices los</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">nombres de los campos de la tabla, de esa forma podemos</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">recuperar cada valor de cada juego de resultados, por eso</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">si queremos mostrar el nombre pondremos</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">&quot;echo $row['nombre']&quot;;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;"></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">*/</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/mysql_free_result"><span style="color:#000066;">mysql_free_result</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$consulta</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">/* Y por último, con esta simpre instrucción lo que</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">hacemos es liberar el identificador con los resultados</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#008000;">del servidor MySQL para liberar memoria. */</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<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:#EE8419;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">?&amp;gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>De esta forma logramos conectar y mostrar un juego de datos de una tabla.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amebastudio.com/tutoriales/php-conexion-base-de-datos/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
