<?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>What I like!</title>
	<atom:link href="http://kelvinmedina.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://kelvinmedina.com/blog</link>
	<description>kelvinmedina.com</description>
	<lastBuildDate>Wed, 02 Dec 2009 22:50:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to make the wireless card work on a Dell Mini 10&#8243; (1010) with Ubuntu 9.10 (Karmic Koala)</title>
		<link>http://kelvinmedina.com/blog/2009/12/how-to-make-the-wireless-card-work-on-a-dell-mini-10-1010-with-ubuntu-9-10/</link>
		<comments>http://kelvinmedina.com/blog/2009/12/how-to-make-the-wireless-card-work-on-a-dell-mini-10-1010-with-ubuntu-9-10/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 21:48:29 +0000</pubDate>
		<dc:creator>Kelvin</dc:creator>
				<category><![CDATA[Operating System]]></category>

		<guid isPermaLink="false">http://kelvinmedina.com/blog/?p=292</guid>
		<description><![CDATA[Since I brought my machine I was hating that Windows Vista came installed in the Net-book and for that reason I was anxious to wipe out Windows Vista and install the almighty Ubuntu 9.10. But before that,  I tried Ubuntu 9.10 Net-book Remix (UNR).
What I can say about UNR? For me seems to be worthless [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_295" class="wp-caption alignleft" style="width: 310px"><img class="size-full wp-image-295" title="Ubuntu_wifi" src="http://kelvinmedina.com/blog/wp-content/uploads/2009/12/Ubuntu_wifi.png" alt="Ubuntu and WIFI logo. " width="300" height="234" /><p class="wp-caption-text">Ubuntu and WIFI logo. </p></div>
<p>Since I brought my machine I was hating that Windows Vista came installed in the Net-book and for that reason I was anxious to wipe out Windows Vista and install the almighty Ubuntu 9.10. But before that,  I tried Ubuntu 9.10 Net-book Remix (UNR).</p>
<p>What I can say about UNR? For me seems to be worthless and too compact.  There is when I decided to go back and install the regular Ubuntu 9.10.  Everything went fine except the same that always gives problem, the WIFI card. My Net-book had Dell Wireless 1510 Wireless-N Mini-card which uses the Broadcom BCM4322.  Who can you know which Wireless Card do you have?</p>
<p>You can run <code>lspci -nn</code> in the terminal and watch out.</p>
<p>Then if you are using the Dell Wireless 1510 Wireless-N Mini-card which uses the Broadcom BCM4322 you can go here  <a title="802.11 Linux STA driver" href="http://www.broadcom.com/support/802.11/linux_sta.php" target="_blank">http://www.broadcom.com/support/802.11/linux_sta.php</a> and get the drivers,  follow the instructions and in a couple of minute you are on the Internet!</p>
<p>Run <code> ifconfig </code> to see if the wireless card is up <img src='http://kelvinmedina.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://kelvinmedina.com/blog/2009/12/how-to-make-the-wireless-card-work-on-a-dell-mini-10-1010-with-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where should migrate a profesional from Puerto Rico nowadays?</title>
		<link>http://kelvinmedina.com/blog/2009/10/where-should-migrate-a-profesional-from-puerto-rico-nowadays/</link>
		<comments>http://kelvinmedina.com/blog/2009/10/where-should-migrate-a-profesional-from-puerto-rico-nowadays/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 20:45:01 +0000</pubDate>
		<dc:creator>Kelvin</dc:creator>
				<category><![CDATA[Politica]]></category>

		<guid isPermaLink="false">http://kelvinmedina.com/blog/?p=271</guid>
		<description><![CDATA[Well it is clear that the economic situation in our nation and specially in our state &#8220;colony&#8221; Puerto Rico is not the best.  If you look at the unemployment rate in the island it should be rising the 17%  and the future it not so much encouraging.  The government is wasting their time like always, [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_272" class="wp-caption alignleft" style="width: 302px"><img class="size-medium wp-image-272" title="puerto_rican_migrations_map" src="http://kelvinmedina.com/blog/wp-content/uploads/2009/10/puerto_rican_migrations_map-292x300.jpg" alt="Puerto Rican common migration paths. " width="292" height="300" /><p class="wp-caption-text">Puerto Rican common migration paths. </p></div>
<p>Well it is clear that the economic situation in our nation and specially in our state &#8220;colony&#8221; Puerto Rico is not the best.  If you look at the unemployment rate in the island it should be rising the 17%  and the future it not so much encouraging.  The government is wasting their time like always, enriching themselves and trying to get the people vote with their foolishness.   If you look at the municipalities, you will see most of the mayors with paycheck surpassing $50,000 annually.   Professionals in the island can barely obtain $30,000.</p>
<p>What can we do about our politics? Reproach them and let them know our perception. Which is not going to change the panorama intermediately.  So let back to the main concern,  where should migrate Puertoricans? Historically the two main destination has been NYC (50&#8217;s..) and Florida (90&#8217;s..).  If you look with thoroughly at NYC you will note to points against moving there, the economy (city is in bankrupt) and criminality (~600 crimes this year).   The metro is in very bad condition and the situation in general seems to be more or less in the same way for the coming years.  In the other side with have Florida, very tempting because the subtropical climate and alike to Puerto Rico.   The main problem with FL is the unemployment rate (~11%).</p>
<p>What to do then?  Contrasting NYC with Florida, I would still bet for FL.   But there is a better option, Washington DC.   Why is a better option?  Out there you will find a lot of opportunities especially in the Federal Government.  Working for the Federal Government will allow you to have a security that you are not going to get on the private sector. And in these  time is where the private sector is not in their normal operations is better to be out of risk.  As a college student I had the opportunity to intern in DC with the Federal Government and from what I see there is a lot chances to succeed as a professional in DC.</p>
<p>So I hope to give you a new alternative to migrate and consequently grow professionally;  something that you can&#8217;t do in PR.</p>
<p><em>Colony: Today, the colonizing European and North American powers hold few colonies in the traditional sense of the term, with exceptions in the case of the US (including Guam, Puerto Rico and the US Virgin Islands, American Samoa, The Northern Marianas and arguably Hawaii &#8211; see next section), France and the UK (including the Falkland Islands, The British Virgin Islands. From Wikipedia <a title="Colony" href="http://en.wikipedia.org/wiki/Colony" target="_blank">http://en.wikipedia.org/wiki/Colony</a></em></p>
<p>In response to <strong>Island crisis could fuel more Puerto Rican migration to U.S.<a href="http://blogs.orlandosentinel.com/news_hispanicaffairs/2009/10/island-crisis-could-feed-more-puerto-rican-migration-to-the-us.html" target="_blank"> </a></strong><a href="http://blogs.orlandosentinel.com/news_hispanicaffairs/2009/10/island-crisis-could-feed-more-puerto-rican-migration-to-the-us.html" target="_blank">http://blogs.orlandosentinel.com/news_hispanicaffairs/2009/10/island-crisis-could-feed-more-puerto-rican-migration-to-the-us.html</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://kelvinmedina.com/blog/2009/10/where-should-migrate-a-profesional-from-puerto-rico-nowadays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a Hotspot with an iPhone and share your Internet</title>
		<link>http://kelvinmedina.com/blog/2009/10/convierte-tu-iphone-en-un-hotspot/</link>
		<comments>http://kelvinmedina.com/blog/2009/10/convierte-tu-iphone-en-un-hotspot/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 14:06:17 +0000</pubDate>
		<dc:creator>Kelvin</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[internet sharing]]></category>
		<category><![CDATA[modem]]></category>
		<category><![CDATA[mywi]]></category>
		<category><![CDATA[tethering]]></category>

		<guid isPermaLink="false">http://kelvinmedina.com/blog/?p=264</guid>
		<description><![CDATA[Some time ago I presented one way that allows you convert your iPhone into a modem.  Now there is a better way to do the same, this time using the application MyWi.  That application convert your iPhone in a &#8220;router&#8221;.  This is very convenient because you don&#8217;t have to plug your phone to the computer [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_265" class="wp-caption alignleft" style="width: 77px"><img class="size-full wp-image-265" title="my_Wi_Icon" src="http://kelvinmedina.com/blog/wp-content/uploads/2009/10/my_Wi_Icon.png" alt="MyWi" width="67" height="94" /><p class="wp-caption-text">MyWi</p></div>
<p>Some time ago I presented one way that allows you convert your iPhone into a modem.  Now there is a better way to do the same, this time using the application MyWi.  That application convert your iPhone in a &#8220;router&#8221;.  This is very convenient because you don&#8217;t have to plug your phone to the computer in order to get the tethering thus allowing you more mobility.   The only drawback is the battery drain that this generate so watch your battery level.</p>
<p>More information at <a title="MyWi - Rock Your Phone" href="http://www.rockyourphone.com/index.php/mywi.html?feat=y" target="_blank">http://www.rockyourphone.com/index.php/mywi.html?feat=y </a></p>
]]></content:encoded>
			<wfw:commentRss>http://kelvinmedina.com/blog/2009/10/convierte-tu-iphone-en-un-hotspot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remover constraseña &#8220;password&#8221; a documentos en formato .PDF</title>
		<link>http://kelvinmedina.com/blog/2009/08/remover-constrasena-password-a-documentos-en-formato-pdf/</link>
		<comments>http://kelvinmedina.com/blog/2009/08/remover-constrasena-password-a-documentos-en-formato-pdf/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 21:00:18 +0000</pubDate>
		<dc:creator>Kelvin</dc:creator>
				<category><![CDATA[Seguridad]]></category>
		<category><![CDATA[contraseña]]></category>
		<category><![CDATA[documentos]]></category>
		<category><![CDATA[eliminar]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[remover]]></category>

		<guid isPermaLink="false">http://kelvinmedina.com/blog/?p=257</guid>
		<description><![CDATA[Recientemente un profesor en la universidad nos asigno unos documentos en .PDF los cuales teniamos que descargar desde su pagina y abrir con un &#8220;password&#8221; que nos dio.  A mi en lo personal me parece molesto tener que escribir el &#8220;password&#8221;  cada vez que deseo abrilo.  Entonces hay es cuando comienzo a buscar una herramienta [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_258" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-258" title="fight-against-keyloggers" src="http://kelvinmedina.com/blog/wp-content/uploads/2009/08/fight-against-keyloggers-300x198.jpg" alt="Against PDF Password" width="300" height="198" /><p class="wp-caption-text">Against PDF Password</p></div>
<p>Recientemente un profesor en la universidad nos asigno unos documentos en .PDF los cuales teniamos que descargar desde su pagina y abrir con un &#8220;password&#8221; que nos dio.  A mi en lo personal me parece molesto tener que escribir el &#8220;password&#8221;  cada vez que deseo abrilo.  Entonces hay es cuando comienzo a buscar una herramienta que me sirva para remover dicho &#8220;password&#8221; y consigo <strong>PDF Password Remover 3.0. </strong> El mismo lo pueden descargar desde aqui<strong> </strong><a title="PDF.Password.Remover.3.0 " href="http://thepiratebay.org/torrent/4788636/PDF.Password.Remover.3.0" target="_blank">http://thepiratebay.org/torrent/4788636/PDF.Password.Remover.3.0</a></p>
<p>Espero que les sirva!</p>
]]></content:encoded>
			<wfw:commentRss>http://kelvinmedina.com/blog/2009/08/remover-constrasena-password-a-documentos-en-formato-pdf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Consigue los mejores dominios de la forma mas facil con Bustaname.com</title>
		<link>http://kelvinmedina.com/blog/2009/08/consigue-los-mejores-dominios-de-la-forma-mas-facil-con-bustaname-com/</link>
		<comments>http://kelvinmedina.com/blog/2009/08/consigue-los-mejores-dominios-de-la-forma-mas-facil-con-bustaname-com/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 22:31:49 +0000</pubDate>
		<dc:creator>Kelvin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[dominio]]></category>
		<category><![CDATA[forma facil]]></category>
		<category><![CDATA[registrador de dominios]]></category>

		<guid isPermaLink="false">http://kelvinmedina.com/blog/?p=246</guid>
		<description><![CDATA[Conseguir un buen dominio hoy dia es un dolor de cabeza pues pareciera que los mejores ya han sido comprados.  Como ya no estamos en la era del &#8220;.com&#8221; tenemos que buscar alternativas que nos faciliten el trabajo.  La solucion perfecta es http://www.bustaname.com/, esta pagina nos permite entrar palabras claves con la cual generara combinaciones [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_250" class="wp-caption alignleft" style="width: 338px"><img class="size-medium wp-image-250" title="bustaname" src="http://kelvinmedina.com/blog/wp-content/uploads/2009/08/bustaname-300x243.png" alt="Bustaname.com Screen Shoot" width="328" height="265" /><p class="wp-caption-text">Bustaname.com Screen Shoot</p></div>
<p>Conseguir un buen dominio hoy dia es un dolor de cabeza pues pareciera que los mejores ya han sido comprados.  Como ya no estamos en la era del &#8220;.com&#8221; tenemos que buscar alternativas que nos faciliten el trabajo.  La solucion perfecta es <a title="Domain Search - BustAName" href="http://www.bustaname.com/" target="_blank">http://www.bustaname.com/</a>, esta pagina nos permite entrar palabras claves con la cual generara combinaciones de dominios libres.  Y no solo te muestra el dominio, tambien te da los precios de diferentes <strong>registradores de dominios</strong> como GoDaddy, 1 &amp; 1, Register.com entre otros.  Asi que ya no hay mas excusas para utilizar dominios complicados como el-dominio48.com!</p>
]]></content:encoded>
			<wfw:commentRss>http://kelvinmedina.com/blog/2009/08/consigue-los-mejores-dominios-de-la-forma-mas-facil-con-bustaname-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aumentar el tamaño minimo de palabra en MySQL (Increase Minimum Word Length in MySQL)</title>
		<link>http://kelvinmedina.com/blog/2009/07/aumentar-el-tamano-minimo-de-palabra-en-mysql-increase-minimum-word-length-in-mysql/</link>
		<comments>http://kelvinmedina.com/blog/2009/07/aumentar-el-tamano-minimo-de-palabra-en-mysql-increase-minimum-word-length-in-mysql/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 20:21:22 +0000</pubDate>
		<dc:creator>Kelvin</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://kelvinmedina.com/blog/?p=223</guid>
		<description><![CDATA[Estoy implementando un buscador con PHP en donde utilizo "Boolean Full-Text Searches".  Una vez  "terminada" la parte de programacion era hora de probar el buscador.  Hay es cuando noto que no obtengo resultados cuando escribo palabras que sean menores de 4 caracteres.  La razon es que por defecto "default " MySQL establece un limite en [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_156" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-156" title="logo-mysql" src="http://kelvinmedina.com/blog/wp-content/uploads/2009/07/logo-mysql-300x218.jpg" alt="Logo MySQL" width="300" height="218" /><p class="wp-caption-text">Logo MySQL</p></div>
<p>Estoy implementando un buscador con PHP en donde utilizo "Boolean Full-Text Searches".  Una vez  "terminada" la parte de programacion era hora de probar el buscador.  Hay es cuando noto que no obtengo resultados cuando escribo palabras que sean menores de 4 caracteres.  La razon es que por defecto "default " MySQL establece un limite en las palabras de 4 caracteres.  En mi caso necesitaba que el buscador fuera capaz de buscar palabras de al menos 3 caracteres.</p>
<p><strong>Para resolver ese asunto podemos hacer lo siguente:</strong></p>
<p>* Debes tener al menos una version de MySQL 4.x.x<br />
* En Windows buscar el archivo my.ini<br />
* En Unix buscar el archivo my.cnf<br />
* Añadir lo siguente:</p>
<div class="igBar"><span id="lcode-3"><a href="#" onclick="javascript:showPlainTxt('code-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-3">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#<span style="color:#006600; font-weight:bold;">&#91;</span>mysqld<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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">ft_min_word_len=<span style="color:#800000;color:#800000;">3</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Para que el cambio aplique debes reiniciar tu servidor de MySQL, entonces reconstruir tu tablas en la base de datos.<br />
Lo cual lo puedes hacer con un "dropping" y recrear las tablas que contienen las "full text columns" (primero debes hacer un backup)  o con el siguiente comando con el cual resulta todo mas sencillo:</p>
<div class="igBar"><span id="lsql-4"><a href="#" onclick="javascript:showPlainTxt('sql-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">SQL:</span>
<div id="sql-4">
<div class="sql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">REPAIR <span style="color: #993333; font-weight: bold;">TABLE</span> table_name QUICK; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://kelvinmedina.com/blog/2009/07/aumentar-el-tamano-minimo-de-palabra-en-mysql-increase-minimum-word-length-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>La verdad sobre el funesto Tamiflu, la supuesta solucion de la medicina convencional para la AH1N1</title>
		<link>http://kelvinmedina.com/blog/2009/07/la-verdad-sobre-el-funesto-tamiflu-la-supuesta-solucion-de-la-medicina-convencional-para-la-ah1n1/</link>
		<comments>http://kelvinmedina.com/blog/2009/07/la-verdad-sobre-el-funesto-tamiflu-la-supuesta-solucion-de-la-medicina-convencional-para-la-ah1n1/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 23:38:10 +0000</pubDate>
		<dc:creator>Kelvin</dc:creator>
				<category><![CDATA[Salud]]></category>
		<category><![CDATA[AH1N1]]></category>
		<category><![CDATA[alternatiava natural]]></category>
		<category><![CDATA[efectos secundarios]]></category>
		<category><![CDATA[gripe porcina]]></category>
		<category><![CDATA[medicina alternativa]]></category>
		<category><![CDATA[medicina natural]]></category>
		<category><![CDATA[puerto rico]]></category>
		<category><![CDATA[tamiflu]]></category>

		<guid isPermaLink="false">http://kelvinmedina.com/blog/?p=195</guid>
		<description><![CDATA[Mucho se he hablado del Tamiflu, especialmente estos dias en Puerto Rico en donde la pandemia ha cobrado 9 vidas.  La misma ha recibido el apoyo de la mayoria de los medicos junto con el de las interesadas farmaceuticas que solo piensan en lucrarse.   El Tamiflu es una droga quimica y dañina con un sinnumero [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_203" class="wp-caption alignleft" style="width: 410px"><img class="size-medium wp-image-203" title="tamiflu_harmful" src="http://kelvinmedina.com/blog/wp-content/uploads/2009/07/tamiflu-copy1-300x165.jpg" alt="Tamiflu Harmful" width="400" height="218" /><p class="wp-caption-text">Tamiflu Harmful</p></div>
<p>Mucho se he hablado del Tamiflu, especialmente estos dias en Puerto Rico en donde la pandemia ha cobrado 9 vidas.  La misma ha recibido el apoyo de la mayoria de los medicos junto con el de las interesadas farmaceuticas que solo piensan en lucrarse.   El Tamiflu es una droga quimica y dañina con un sinnumero de efectos secundarios. Y como el 99% de las drogas empleadas por la medicina convencional no sirven mas que para hacer daño, punto.  Como sabemos el objetivo de la medicina conptemporanea es eliminar los sintomas de las enfermedades a toda costa y sin importar lo que esto signifique, no curan la enfermedad que provoca los sintomas, solo la disfrazan.</p>
<p>Algunos de los efectos secundarios conocidos son:</p>
<p><strong>Nauseas<br />
Vómito<br />
Diarrea<br />
Dolor de cabeza<br />
Mareo<br />
Fatiga<br />
Tos</strong><span><br />
<strong>Episodios psiquiátrico</strong></span><br />
<strong>Convulsiones<br />
Delirio</strong></p>
<p>Y la<strong> muerte</strong> de infantes y adolescentes como resultado de problemas neuro-psiquiátricos e infecciones cerebrales.  Esto llevó a Japón a prohibir el Tamiflu para niños en el 2007, pueden ver la noticia completa <a title="Japan Links Tamiflu to Sudden Deaths in Children" href="http://www.voanews.com/english/archive/2005-11/2005-11-13-voa12.cfm?CFID=258998727&amp;CFTOKEN=79245577&amp;jsessionid=8430b2647a0d8fa035a55303255d36785346" target="_blank">Japan Links Tamiflu to Sudden Deaths in Children</a> otro articulo aca <a title="Japan issues Tamiflu warning after child deaths" href="http://www.timesonline.co.uk/tol/news/world/asia/article1549260.ece" target="_blank">Japan issues Tamiflu warning after child deaths</a>.</p>
<p>Lo peor de todo es que el Tamiflu solo funciona una sola vez por 36 horas, por lo tanto si ya usaste Tamiflu no lo podras usar nuevamente.  Entonces vale la pena arriesgarnos tanto? Por supuesto que no.  Ademas, esta droga provoca que los anticuerpos (en realidad procuerpos) no aprendan a defenderse por su propia cuenta del AH1N1 (Gripe Porcina). Cito lo dicho por el Dr. Norman Gonzalez Chacon en su programa del 3-Mayo-2009 por WKAQ Radio "La función de un antibiótico es crear un sistema de defensa paralelo al del cuerpo que suprimen las defensas naturales, que son las que van a combatir la infección. Esto da un mal resultado debido a que el cuerpo nunca aprende a combatir la infección porque depende de las defensas prestadas y poco a poco esas defensas prestadas van inundando el sistema hasta que mutilan permanentemente el sistema inmunológico".  Por lo tanto, si los antibioticos suprimen nuestro sistema inmunulogico, el mismo nunca aprendera a defenderse por su propia cuenta de este virus ni de los proximos que mutaran cada año.  Esta es la razon por la cual las personas utilizando inmunosupresores como lo es la cortizona estan mas expuestos que el resto de la poblacion.  Se sabe que este virus tiene sus raices en el año 1918 y ha ido mutando gracias al uso de los repudiables antibioticos.</p>
<p>Entonces que soluciones alternativas existen?  Muchas dentro de la medicina natural.  Lo primero que debemos hacer es fortalecer nuestro poderoso e inteligente sistema inmunologico (Por supuesto, algo que todavia los medicos no entienden).  Podemos hacerlo con Echinacea, Vitamina C, Acidophilus entre otras cosas, todas totalmente naturales y sin los efectos secundarios de las drogras.  De este modo, nuestro cuerpo estara listo para atacar cualquier virus que entre a nuestro sistema y que quiera apoderarse de nuestras celulas.  Lo segundo es cambiar nuestra alimentacion por una vegetariana, se sabe que  las carnes comprometen nuestro sistema inmunologico y lo hacen vurnerable a entes externos.  Asimismo, podemos utilizar hacer una mezcla del poderoso aceite Eucalipto y Menta con Alcohol para limpiar y asperjar el aire.  Esto son solo algunas recomendaciones generales, si desean una informacion mas precisa y detallada, deben leer el articulo publicado en esta pagina <a title="Programa del 3 de Mayo de 2009" href="http://www.alternativanaturalpr.com/resumenes/09050300.html">Programa del 3 de Mayo de 2009</a> y escuchar los programas radiales del <a title="3 de mayo" href="http://kelvinmedina.com/blog/media/julio_19_2009.mp3" target="_blank">3 de mayo</a> &amp;  <a title="19 de juio" href="http://kelvinmedina.com/blog/media/mayo_03_2009.mp3" target="_blank">19 de julio</a>.</p>
<p><strong>Mas informacion:</strong></p>
<p><a title="Programas Radiales Alternativa Natural" href="http://www.alternativanaturalpr.com/prog_rad.html" target="_blank">Programas Radiales Alternativa Natural</a></p>
<p><a title="Efectos Secundarios del Tamiflu" href="http://lp77.wordpress.com/2009/05/02/efectos-secundarios-del-tamiflu/" target="_blank">Efectos Secundarios del Tamiflu</a></p>
<p><a title="Meat and sugar: a deadly combination" href="http://www.natural-cancer-cures.com/meat-and-sugar.html" target="_blank">Meat and sugar: a deadly combination</a></p>
<p>Sigue quedando tema para discutir los efectos de la vacuna que saldra al mercado en unos meses y que solo empeorara las cosas.</p>
]]></content:encoded>
			<wfw:commentRss>http://kelvinmedina.com/blog/2009/07/la-verdad-sobre-el-funesto-tamiflu-la-supuesta-solucion-de-la-medicina-convencional-para-la-ah1n1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://kelvinmedina.com/blog/media/julio_19_2009.mp3" length="21536768" type="audio/mpeg" />
<enclosure url="http://kelvinmedina.com/blog/media/mayo_03_2009.mp3" length="21704704" type="audio/mpeg" />
		</item>
		<item>
		<title>Las etiquetas (stickers) de frutas &amp; vegetales y los nocivos alimentos Geneticamente Alterados (GMO, GE)</title>
		<link>http://kelvinmedina.com/blog/2009/07/las-etiquetas-stickers-de-frutas-vegetales-y-los-nocivos-alimentos-geneticamente-alterados-gmo-ge/</link>
		<comments>http://kelvinmedina.com/blog/2009/07/las-etiquetas-stickers-de-frutas-vegetales-y-los-nocivos-alimentos-geneticamente-alterados-gmo-ge/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 21:30:35 +0000</pubDate>
		<dc:creator>Kelvin</dc:creator>
				<category><![CDATA[Salud]]></category>
		<category><![CDATA[alimentos]]></category>
		<category><![CDATA[alterados]]></category>
		<category><![CDATA[convencional]]></category>
		<category><![CDATA[efectos secundarios]]></category>
		<category><![CDATA[etiquetas]]></category>
		<category><![CDATA[frutas]]></category>
		<category><![CDATA[GE]]></category>
		<category><![CDATA[genetically enginereed food]]></category>
		<category><![CDATA[geneticamente]]></category>
		<category><![CDATA[GMO]]></category>
		<category><![CDATA[monsanto]]></category>
		<category><![CDATA[organico]]></category>
		<category><![CDATA[significado]]></category>
		<category><![CDATA[stickers]]></category>

		<guid isPermaLink="false">http://kelvinmedina.com/blog/?p=179</guid>
		<description><![CDATA[Hacer par de dias fui a un supermercado aca en Washington DC y compre un par de aguacates por $4.  Luego en mi apartamento veo que la etiqueta leia: SlimCado(TM).  De inmediato pense que era geneticamente alterado.  Buscando en Internet aprendi que por suerte mi SlimCado(TM) era cultivado convencionalmente pues el numero en la etiqueta [...]]]></description>
			<content:encoded><![CDATA[<p>Hacer par de dias fui a un supermercado aca en Washington DC y compre un par de aguacates por $4.  Luego en mi apartamento veo que la etiqueta leia: SlimCado(TM).  De inmediato pense que era geneticamente alterado.  Buscando en Internet aprendi que por suerte mi SlimCado(TM) era cultivado convencionalmente pues el numero en la etiqueta leia 4771.</p>
<p><strong>Por ejemplo:</strong></p>
<p>Una banana (guineo) cultivado de manera convencional lee:<br />
<span style="font-family: Arial,Helvetica; font-size: medium;"><strong>4011</strong></span></p>
<p>Una banana (guineo) organico lee:<br />
<span style="font-family: Arial,Helvetica; font-size: medium;"><strong>94011</strong></span></p>
<p>Si la misma fuera geneticamente alterada [genetically engineered (GE o GMO)] seria :<br />
<span style="font-family: Arial,Helvetica; font-size: medium;"><strong>84011</strong></span></p>
<p>Esto es importante conocerlo para asi eliminar los alimentos geneticamente alterados de nuesta mesa, debido a que los mismos son dañinos para nuestra salud y para el ambiente.  Ademas, representan el control de los grandes intereses pues estos se convierten en los propietarios de las semillas que producen.  Lo cual va creando un monopolio, un gran ejemplo de esto es la famosa y controversial compañia Monsanto.  Se escucha muy "fancy" lo que promete este tipo de tecnologia, pero en realidad es todo lo contrario debido a la gran cantidad de efectos secundarios que nacen con la misma.  Es nuestro deber ciudadano rechazar este tipo de producto que se relaciona con diferentes tipos de cancer, alergias, el monopolio &amp; control de los grandes intereses, la muerte de insectos beneficiosos para la agricultura y el medio ambiente,  enfermedades degenerativas, muerte en humanos entre otras cosas.  La lista en interminable, pueden visitar esta pagina <a href="http://www.raw-wisdom.com/genetically-modified-food" target="_blank">50 harmful effects of genetically modified (gm) foods</a> y conocer mas detalles de esta practica dañina y poco natural.</p>
]]></content:encoded>
			<wfw:commentRss>http://kelvinmedina.com/blog/2009/07/las-etiquetas-stickers-de-frutas-vegetales-y-los-nocivos-alimentos-geneticamente-alterados-gmo-ge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error #1005 &#8211; Can&#8217;t create table&#8230; en MySQL al intentar crear una relacion 1-M</title>
		<link>http://kelvinmedina.com/blog/2009/07/error-1005-cant-create-table-en-mysql-al-intentar-crear-una-relacion-1-m/</link>
		<comments>http://kelvinmedina.com/blog/2009/07/error-1005-cant-create-table-en-mysql-al-intentar-crear-una-relacion-1-m/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 23:45:58 +0000</pubDate>
		<dc:creator>Kelvin</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[relaciones]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://kelvinmedina.com/blog/?p=150</guid>
		<description><![CDATA[Estaba intentando hacer una relacion (unos a muchos 1-M) en una base de datos en MySQL ya existente  y recibia este error: #1005 - Can't create table 'table_name.#sql-344_126' (errno: 121)
La razon es que tenia varios asuntos sin resolver:
El campo a ser utilizado en la relacion tiene que ser llave primaria o indice (primary key or [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_156" class="wp-caption alignleft" style="width: 286px"><img class="size-medium wp-image-156" title="logo-mysql" src="http://kelvinmedina.com/blog/wp-content/uploads/2009/07/logo-mysql-300x218.jpg" alt="Logo MySQL" width="276" height="200" /><p class="wp-caption-text">Logo MySQL</p></div>
<p>Estaba intentando hacer una relacion (unos a muchos 1-M) en una base de datos en MySQL ya existente  y recibia este error: #1005 - Can't create table 'table_name.#sql-344_126' (errno: 121)</p>
<p><strong>La razon es que tenia varios asuntos sin resolver:</strong></p>
<p style="padding-left: 30px;">El campo a ser utilizado en la relacion tiene que ser llave primaria o indice (primary key or index).</p>
<p>Ambas tablas tienen que ser Engine InnoDB, para modificar una tabla existente puedes utilizar el siguente commando:</p>
<div class="igBar"><span id="lsql-7"><a href="#" onclick="javascript:showPlainTxt('sql-7'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">SQL:</span>
<div id="sql-7">
<div class="sql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #993333; font-weight: bold;">ALTER</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #ff0000;">'table_name'</span> ENGINE = InnoDB; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Para alterar una tabla ya existente, creando asi la relacion:</p>
<div class="igBar"><span id="lsql-8"><a href="#" onclick="javascript:showPlainTxt('sql-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">SQL:</span>
<div id="sql-8">
<div class="sql">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #993333; font-weight: bold;">ALTER</span> <span style="color: #993333; font-weight: bold;">TABLE</span> usuarios</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #993333; font-weight: bold;">ADD</span> CONSTRAINT country_id</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #993333; font-weight: bold;">FOREIGN</span> <span style="color: #993333; font-weight: bold;">KEY</span> <span style="color:#006600; font-weight:bold;">&#40;</span>country_id<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: #993333; font-weight: bold;">REFERENCES</span> countries <span style="color:#006600; font-weight:bold;">&#40;</span>country_id<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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #993333; font-weight: bold;">ON</span> <span style="color: #993333; font-weight: bold;">DELETE</span> CASCADE <span style="color: #993333; font-weight: bold;">ON</span> <span style="color: #993333; font-weight: bold;">UPDATE</span> CASCADE </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Pueden conseguir mas informacion en este blog: <a title="MySQL Error Number 1005 Can’t create table ‘.\mydb\#sql-328_45.frm’ (errno: 150)" href="http://www.verysimple.com/blog/2006/10/22/mysql-error-number-1005-cant-create-table-mydbsql-328_45frm-errno-150/" target="blank">MySQL Error Number 1005 Can’t create table ‘.\mydb\#sql-328_45.frm’ (errno: 150)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kelvinmedina.com/blog/2009/07/error-1005-cant-create-table-en-mysql-al-intentar-crear-una-relacion-1-m/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Script en PHP que envia nombre de los archivos y sus localizacionnes a una base de datos en MySQL</title>
		<link>http://kelvinmedina.com/blog/2009/07/script-en-php-que-envia-nombre-directorio-y-localizacion-a-base-de-datos-en-mysql/</link>
		<comments>http://kelvinmedina.com/blog/2009/07/script-en-php-que-envia-nombre-directorio-y-localizacion-a-base-de-datos-en-mysql/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 22:34:30 +0000</pubDate>
		<dc:creator>Kelvin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[base de datos]]></category>
		<category><![CDATA[copiar]]></category>
		<category><![CDATA[copiar archivos]]></category>
		<category><![CDATA[copiar directorio]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[directorios]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[programacion]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://kelvinmedina.com/blog/?p=125</guid>
		<description><![CDATA[Actualmente estoy trabajando en un proyecto en donde tengo que realizar una pagina Intranet.  Como parte del mismo tengo que copiar el nombre y el directorio de unos archivos que estan alojados en el servidor.  Hay es cuando interviene PHP, con el cual he creado un "script" que al momento de correrlo se conecta a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-128" title="php" src="http://kelvinmedina.com/blog/wp-content/uploads/2009/07/php.png" alt="php" width="367" height="239" />Actualmente estoy trabajando en un proyecto en donde tengo que realizar una pagina Intranet.  Como parte del mismo tengo que copiar el nombre y el directorio de unos archivos que estan alojados en el servidor.  Hay es cuando interviene PHP, con el cual he creado un "script" que al momento de correrlo se conecta a una base de datos en MySQL y envia el nombre y directorio de los archivos.  El mismo hay que correrlo de forma manual, pero se podría implementar para que corra automaticamente cada minuto, hora o dia. Asimismo, una vez  la informacion esta en la base de datos se puede crear un buscador con PHP en donde el usuario pueda buscar los archivos y descargarlos.</p>
<p>Ejemplo:</p>
<p>C:\documentos\midocumento.doc</p>
<p>Se enviara a la base de datos: midocumento.doc y el directorio C:\documentos\midocumento.doc</p>
<p>* El mismo funciona con el backslash '\' de Windows, si vas a utilizar Linux debes modificar el codigo.</p>
<div class="igBar"><span id="lcode-10"><a href="#" onclick="javascript:showPlainTxt('code-10'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-10">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&amp;lt;!DOCTYPE HTML PUBLIC <span style="color:#CC0000;">"-//W3C//DTD HTML 4.01 Transitional//EN"</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">"http://www.w3.org/TR/html4/loose.dtd"</span>&amp;gt;</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&amp;lt;html&amp;gt;</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&amp;lt;head&amp;gt;</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&amp;lt;meta http-equiv=<span style="color:#CC0000;">"Content-Type"</span> content=<span style="color:#CC0000;">"text/html; charset=iso-8859-1"</span>&amp;gt;</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&amp;lt;title&amp;gt;Untitled Document&amp;lt;/title&amp;gt;</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&amp;lt;/head&amp;gt;</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&amp;lt;body&amp;gt;</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:#3A6A8B;">
<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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$it = new RecursiveDirectoryIterator<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC0000;">'./'</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">// database</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$dbhost = <span style="color:#CC0000;">'localhost'</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$dbuser = <span style="color:#CC0000;">'root'</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$dbpass = <span style="color:#CC0000;">'password'</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">// connecting to database</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$conn = mysql_connect<span style="color:#006600; font-weight:bold;">&#40;</span>$dbhost, $dbuser, $dbpass<span style="color:#006600; font-weight:bold;">&#41;</span> or die <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC0000;">'Error connecting to MySQL'</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$dbname = <span style="color:#CC0000;">'direc_files'</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">mysql_select_db<span style="color:#006600; font-weight:bold;">&#40;</span>$dbname,$conn<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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">// RecursiveIteratorIterator accepts the following modes:</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//     LEAVES_ONLY = 0  (default)</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//     SELF_FIRST  = 1</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//     CHILD_FIRST = 2</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">foreach <span style="color:#006600; font-weight:bold;">&#40;</span>new RecursiveIteratorIterator<span style="color:#006600; font-weight:bold;">&#40;</span>$it, <span style="color:#800000;color:#800000;">2</span><span style="color:#006600; font-weight:bold;">&#41;</span> as $path<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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#123;</span> <span style="color:#FF9933; font-style:italic;">// foreach began</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">if <span style="color:#006600; font-weight:bold;">&#40;</span>$path != <span style="color:#CC0000;">'.'</span> &amp;amp;&amp;amp; $path != <span style="color:#CC0000;">'..'</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#123;</span> <span style="color:#FF9933; font-style:italic;">// if began</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">if <span style="color:#006600; font-weight:bold;">&#40;</span> !is_dir<span style="color:#006600; font-weight:bold;">&#40;</span>$path<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#FF9933; font-style:italic;">// tells whether the given filename is a directory</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#123;</span> <span style="color:#FF9933; font-style:italic;">// if began</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//echo basename($path); // display directory name</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$insert = basename<span style="color:#006600; font-weight:bold;">&#40;</span>$path<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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">echo <span style="color:#CC0000;">"&amp;lt;p&amp;gt;$insert&amp;lt;/p&amp;gt;"</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">echo <span style="color:#CC0000;">"<span style="color:#000099; font-weight:bold;">\n</span>"</span>; <span style="color:#FF9933; font-style:italic;">// new line</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">// echo &quot;&amp;lt;p&amp;gt;$path&amp;lt;/p&amp;gt;&quot;;</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">echo <span style="color:#CC0000;">"<span style="color:#000099; font-weight:bold;">\n</span>"</span>; <span style="color:#FF9933; font-style:italic;">// new line</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$path_trimmed = ltrim<span style="color:#006600; font-weight:bold;">&#40;</span>$path,<span style="color:#CC0000;">'.'</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">echo <span style="color:#CC0000;">"<span style="color:#000099; font-weight:bold;">\n</span>"</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$dir_safe = mysql_real_escape_string<span style="color:#006600; font-weight:bold;">&#40;</span>$path_trimmed<span style="color:#006600; font-weight:bold;">&#41;</span>; <span style="color:#FF9933; font-style:italic;">// allow to enter escape character in a safe way</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">$dir_http = str_replace<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC0000;">"<span style="color:#000099; font-weight:bold;">\\</span><span style="color:#000099; font-weight:bold;">\\</span>"</span>, <span style="color:#CC0000;">'/'</span>, $dir_safe<span style="color:#006600; font-weight:bold;">&#41;</span>; <span style="color:#FF9933; font-style:italic;">// replace '\' with '/'</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">echo <span style="color:#CC0000;">"&amp;lt;strong&amp;gt;The directory : $dir_http &amp;lt;/strong&amp;gt;"</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">mysql_query<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC0000;">"INSERT INTO index_files (file_name, directory)</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#CC0000;">VALUES ('$insert','$dir_http')"</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> <span style="color:#FF9933; font-style:italic;">// if end</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> <span style="color:#FF9933; font-style:italic;">// if end</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#125;</span> <span style="color:#FF9933; font-style:italic;">// foreach end</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF9933; font-style:italic;">//mysql_close($conn); // close mysql connection</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">?&amp;gt;</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&amp;lt;/body&amp;gt;</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:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&amp;lt;/html&amp;gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://kelvinmedina.com/blog/2009/07/script-en-php-que-envia-nombre-directorio-y-localizacion-a-base-de-datos-en-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
