<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Generar Excel con PHP</title>
	<atom:link href="http://blog.unijimpe.net/generar-excel-con-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.unijimpe.net/generar-excel-con-php/</link>
	<description>Desarrollo Web, SEO, Adsense</description>
	<lastBuildDate>Sat, 20 Mar 2010 10:03:45 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Oscar</title>
		<link>http://blog.unijimpe.net/generar-excel-con-php/comment-page-3/#comment-36250</link>
		<dc:creator>Oscar</dc:creator>
		<pubDate>Thu, 18 Mar 2010 14:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unijimpe.net/generar-excel-con-php/#comment-36250</guid>
		<description>NO ME COPIA TODO EL CODIGO.
BASICAMENTE EL PROBLEMA ES QUE NECESITO QUE EL EXCEL GENERADO SE GUARDE EN UNA CARPETA DADA.

SE PUEDE HACER ESO?</description>
		<content:encoded><![CDATA[<p>NO ME COPIA TODO EL CODIGO.<br />
BASICAMENTE EL PROBLEMA ES QUE NECESITO QUE EL EXCEL GENERADO SE GUARDE EN UNA CARPETA DADA.</p>
<p>SE PUEDE HACER ESO?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oscar</title>
		<link>http://blog.unijimpe.net/generar-excel-con-php/comment-page-3/#comment-36248</link>
		<dc:creator>Oscar</dc:creator>
		<pubDate>Thu, 18 Mar 2010 14:16:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unijimpe.net/generar-excel-con-php/#comment-36248</guid>
		<description>Hola usé la solución de Toolszigfrit

Se crea el archivo Excel, es decir se abre con los datos de my query pero no se guarda automáticamente en ninguna carpeta, ese es el problema que me falta resolver, tienen alguna sugerencia?

Este es el código:

= (DATE_SUB(now(), INTERVAL 35 DAY))  and REGISTROS_FS.FECHA_INI 




 New Document


 
          
            
              Mes
              TIPO
              CANT_EVENTOS
              TOTAL_HORAS
            
          
           0){
				do
				 { ?&gt;
          
            
            
            
            
          

           0) {
		      mysql_data_seek($resEmp, 0);
              $reg = mysql_fetch_assoc($resEmp);

			}
  }
			?&gt;
        

</description>
		<content:encoded><![CDATA[<p>Hola usé la solución de Toolszigfrit</p>
<p>Se crea el archivo Excel, es decir se abre con los datos de my query pero no se guarda automáticamente en ninguna carpeta, ese es el problema que me falta resolver, tienen alguna sugerencia?</p>
<p>Este es el código:</p>
<p>= (DATE_SUB(now(), INTERVAL 35 DAY))  and REGISTROS_FS.FECHA_INI </p>
<p> New Document</p>
<p>              Mes<br />
              TIPO<br />
              CANT_EVENTOS<br />
              TOTAL_HORAS</p>
<p>           0){<br />
				do<br />
				 { ?&gt;</p>
<p>           0) {<br />
		      mysql_data_seek($resEmp, 0);<br />
              $reg = mysql_fetch_assoc($resEmp);</p>
<p>			}<br />
  }<br />
			?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viridiana</title>
		<link>http://blog.unijimpe.net/generar-excel-con-php/comment-page-3/#comment-36183</link>
		<dc:creator>Viridiana</dc:creator>
		<pubDate>Mon, 08 Mar 2010 19:42:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unijimpe.net/generar-excel-con-php/#comment-36183</guid>
		<description>Hola esta muy bueno tu foro y me ayudado bastante, gracias y saludos</description>
		<content:encoded><![CDATA[<p>Hola esta muy bueno tu foro y me ayudado bastante, gracias y saludos</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jobu</title>
		<link>http://blog.unijimpe.net/generar-excel-con-php/comment-page-3/#comment-36145</link>
		<dc:creator>jobu</dc:creator>
		<pubDate>Wed, 03 Mar 2010 06:58:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unijimpe.net/generar-excel-con-php/#comment-36145</guid>
		<description>ya supe como solucionar el problema de memoria que tenia !

elproblema es que el limite de memoria por defecto es de 8 MB, entonces se debe aumentar con la siguiente linea de codigo al inicio del programa :

ini_set(&quot;memory_limit&quot;,&quot;20M&quot;);

espero que le sirva a alguien !</description>
		<content:encoded><![CDATA[<p>ya supe como solucionar el problema de memoria que tenia !</p>
<p>elproblema es que el limite de memoria por defecto es de 8 MB, entonces se debe aumentar con la siguiente linea de codigo al inicio del programa :</p>
<p>ini_set(&#8220;memory_limit&#8221;,&#8221;20M&#8221;);</p>
<p>espero que le sirva a alguien !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jobu</title>
		<link>http://blog.unijimpe.net/generar-excel-con-php/comment-page-3/#comment-36144</link>
		<dc:creator>jobu</dc:creator>
		<pubDate>Wed, 03 Mar 2010 06:49:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unijimpe.net/generar-excel-con-php/#comment-36144</guid>
		<description>que tal como estan ??

la aplicacion de la consulta a la base de datos me funciona bien, me genera el archivo correctamente pero solo en unos casos.

cuando hago consultas que obtienen muchos registros, no se me genera el archivo excel y me sale este error de memoria:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes) in C:\AppServ\www\excel.php on line 208


que puedo hacer para solucionarlo ??
les agradezco !</description>
		<content:encoded><![CDATA[<p>que tal como estan ??</p>
<p>la aplicacion de la consulta a la base de datos me funciona bien, me genera el archivo correctamente pero solo en unos casos.</p>
<p>cuando hago consultas que obtienen muchos registros, no se me genera el archivo excel y me sale este error de memoria:</p>
<p>Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 10 bytes) in C:\AppServ\www\excel.php on line 208</p>
<p>que puedo hacer para solucionarlo ??<br />
les agradezco !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sir homer</title>
		<link>http://blog.unijimpe.net/generar-excel-con-php/comment-page-3/#comment-36105</link>
		<dc:creator>sir homer</dc:creator>
		<pubDate>Tue, 23 Feb 2010 15:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unijimpe.net/generar-excel-con-php/#comment-36105</guid>
		<description>Buenas aca te  paso otro codigo es mucho mas rapido y facil de usar
&lt;code&gt;
$excel = new COM(&quot;excel.application&quot;);
//creas nuevo libro
$excel-&gt;Visible = 1;
$excel-&gt;DisplayAlerts = 0;

$excel-&gt;Workbooks-&gt;Add();
//Agregas nueva hoja
$sheet =$excel-&gt;Worksheets(1);
$sheet-&gt;activate;
//Elegis la celda que queres modificar
$cell = $sheet-&gt;Cells(2,4);
$cell-&gt;Activate;
$cell-&gt;Interior-&gt;ColorIndex = 3;
$cell-&gt;BORDERS-&gt;Weight = 2;
$cell-&gt;value = &#039;myvalue&#039;;
$cell = $sheet-&gt;Cells(1,1);
$cell-&gt;Activate;
$cell-&gt;Interior-&gt;ColorIndex = 15;
$cell-&gt;value = &#039;myvalue3&#039;;
$sheet =$excel-&gt;Worksheets(2);
$sheet-&gt;activate;
$cell = $sheet-&gt;Cells(2,4);
$cell-&gt;Activate;
$cell-&gt;Interior-&gt;ColorIndex = 4;
$cell-&gt;value = &quot;Chr(193)&quot;;
$filename = tempnam(sys_get_temp_dir(), &quot;excel&quot;);
$excel-&gt;Workbooks(1)-&gt;SaveAs($filename);


$excel-&gt;ActiveWorkBook-&gt;Close();
$excel-&gt;Quit();
readfile($filename);
header(&quot;Content-type: application/vnd.ms-excel&quot;);
header(&quot;Content-Disposition: attachment;Filename=document_name.xls&quot;);
unset( $excel );

unlink($filename);&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Buenas aca te  paso otro codigo es mucho mas rapido y facil de usar<br />
<code><br />
$excel = new COM("excel.application");<br />
//creas nuevo libro<br />
$excel-&gt;Visible = 1;<br />
$excel-&gt;DisplayAlerts = 0;</p>
<p>$excel-&gt;Workbooks-&gt;Add();<br />
//Agregas nueva hoja<br />
$sheet =$excel-&gt;Worksheets(1);<br />
$sheet-&gt;activate;<br />
//Elegis la celda que queres modificar<br />
$cell = $sheet-&gt;Cells(2,4);<br />
$cell-&gt;Activate;<br />
$cell-&gt;Interior-&gt;ColorIndex = 3;<br />
$cell-&gt;BORDERS-&gt;Weight = 2;<br />
$cell-&gt;value = 'myvalue';<br />
$cell = $sheet-&gt;Cells(1,1);<br />
$cell-&gt;Activate;<br />
$cell-&gt;Interior-&gt;ColorIndex = 15;<br />
$cell-&gt;value = 'myvalue3';<br />
$sheet =$excel-&gt;Worksheets(2);<br />
$sheet-&gt;activate;<br />
$cell = $sheet-&gt;Cells(2,4);<br />
$cell-&gt;Activate;<br />
$cell-&gt;Interior-&gt;ColorIndex = 4;<br />
$cell-&gt;value = "Chr(193)";<br />
$filename = tempnam(sys_get_temp_dir(), "excel");<br />
$excel-&gt;Workbooks(1)-&gt;SaveAs($filename);</p>
<p>$excel-&gt;ActiveWorkBook-&gt;Close();<br />
$excel-&gt;Quit();<br />
readfile($filename);<br />
header("Content-type: application/vnd.ms-excel");<br />
header("Content-Disposition: attachment;Filename=document_name.xls");<br />
unset( $excel );</p>
<p>unlink($filename);</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aldo</title>
		<link>http://blog.unijimpe.net/generar-excel-con-php/comment-page-3/#comment-36096</link>
		<dc:creator>Aldo</dc:creator>
		<pubDate>Mon, 22 Feb 2010 18:30:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unijimpe.net/generar-excel-con-php/#comment-36096</guid>
		<description>hola...
el script me funciona pero todos los datos me aparecen en una sola celda
alguien me puede ayudar a corregir eso ?</description>
		<content:encoded><![CDATA[<p>hola&#8230;<br />
el script me funciona pero todos los datos me aparecen en una sola celda<br />
alguien me puede ayudar a corregir eso ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eduardo</title>
		<link>http://blog.unijimpe.net/generar-excel-con-php/comment-page-3/#comment-36071</link>
		<dc:creator>Eduardo</dc:creator>
		<pubDate>Thu, 18 Feb 2010 23:27:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unijimpe.net/generar-excel-con-php/#comment-36071</guid>
		<description>ya me corrio saludos posteo ajala a alguien le sirva
god bless you

</description>
		<content:encoded><![CDATA[<p>ya me corrio saludos posteo ajala a alguien le sirva<br />
god bless you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eduardo</title>
		<link>http://blog.unijimpe.net/generar-excel-con-php/comment-page-3/#comment-36066</link>
		<dc:creator>Eduardo</dc:creator>
		<pubDate>Wed, 17 Feb 2010 18:17:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unijimpe.net/generar-excel-con-php/#comment-36066</guid>
		<description>Hola buen día a todos
me corre y me genera el archivo excel sin ningun problema excel-ext.php 
pero cuando hago una consulta a la base de datos no me corre mysql.php
alguien fuera tan amable si ya le corrio de poner el codigo o donde descargarlo el que funciona correctamente para generarl el excel consultando una base de datos
saludos dios los bendiga</description>
		<content:encoded><![CDATA[<p>Hola buen día a todos<br />
me corre y me genera el archivo excel sin ningun problema excel-ext.php<br />
pero cuando hago una consulta a la base de datos no me corre mysql.php<br />
alguien fuera tan amable si ya le corrio de poner el codigo o donde descargarlo el que funciona correctamente para generarl el excel consultando una base de datos<br />
saludos dios los bendiga</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andres</title>
		<link>http://blog.unijimpe.net/generar-excel-con-php/comment-page-3/#comment-36060</link>
		<dc:creator>Andres</dc:creator>
		<pubDate>Tue, 16 Feb 2010 18:02:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.unijimpe.net/generar-excel-con-php/#comment-36060</guid>
		<description>Gracias DDCw!!!!!

Hice los cambios y funciono perfactamente.</description>
		<content:encoded><![CDATA[<p>Gracias DDCw!!!!!</p>
<p>Hice los cambios y funciono perfactamente.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->