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

<channel>
	<title>ZoneArtCSS &#124; Desarrollo Web, Diseño de páginas Web, Aplicaciones Móviles, Notas de Tecnología &#187; miguel ortega</title>
	<atom:link href="http://www.zoneartcss.com/tag/miguel-ortega/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zoneartcss.com</link>
	<description>Tips de Diseño y Desarrollo Web</description>
	<lastBuildDate>Wed, 26 Oct 2011 18:31:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Botones de formulario con bordes redondeados solo Css</title>
		<link>http://www.zoneartcss.com/webdesign/css/botones-de-formulario-con-bordes-redondos-solo-con-css/</link>
		<comments>http://www.zoneartcss.com/webdesign/css/botones-de-formulario-con-bordes-redondos-solo-con-css/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 09:25:37 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Diseño web]]></category>
		<category><![CDATA[botones css]]></category>
		<category><![CDATA[css botones]]></category>
		<category><![CDATA[estilo de botones]]></category>
		<category><![CDATA[formularios con estilo]]></category>
		<category><![CDATA[miguel ortega]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/?p=1208</guid>
		<description><![CDATA[En este Post les mostrare como podemos crear botones para nuestros formularios con un estilo de borde redondeado. Esto nos servirá para poner mas cool nuestra web. Primero tenemos que descarga estas Imagenes. Imagen Izquierda Imagen Izquierda Hover Imagen Derecha Imagen Derecha Hover Este es el codigo del Boton &#60;button value=&#34;submit&#34; class=&#34;submitBtn&#34;&#62;&#60;span&#62;Submit&#60;/span&#62;&#60;/button&#62; Y este sería el Código del Css utton &#123; border:0; cursor:pointer; font-weight:bold; padding:0 20px 0 0; text-align:center; &#125; button span &#123; position:relative; display:block; [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p><img src="http://www.zoneartcss.com/wp-content/uploads/2009/12/botones_css.jpg" alt="botones_css" title="botones_css" width="504" height="132" class="alignnone size-full wp-image-1221" /><br />
En este Post les  mostrare como podemos crear botones para nuestros formularios con un estilo de borde redondeado.<br />
<span id="more-1208"></span></p>
<p>Esto nos servirá para poner mas cool nuestra web.</p>
<p>Primero tenemos que descarga estas Imagenes.</p>
<p>Imagen Izquierda<br />
<img src="http://www.zoneartcss.com/wp-content/uploads/2009/12/btn_blue_left.gif" alt="btn_blue_left" title="btn_blue_left" width="600" height="50" class="alignnone size-full wp-image-1217" /><br />
Imagen Izquierda Hover<br />
<img src="http://www.zoneartcss.com/wp-content/uploads/2009/12/btn_blue_left_hover.gif" alt="btn_blue_left_hover" title="btn_blue_left_hover" width="600" height="50" class="alignnone size-full wp-image-1218" /></p>
<p>Imagen Derecha<br />
<img src="http://www.zoneartcss.com/wp-content/uploads/2009/12/btn_blue_right.gif" alt="btn_blue_right" title="btn_blue_right" width="62" height="50" class="alignnone size-full wp-image-1219" /><br />
Imagen Derecha Hover<br />
<img src="http://www.zoneartcss.com/wp-content/uploads/2009/12/btn_blue_right_hover.gif" alt="btn_blue_right_hover" title="btn_blue_right_hover" width="62" height="50" class="alignnone size-full wp-image-1220" /></p>
<p>Este es el codigo del Boton</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;button value=&quot;submit&quot; class=&quot;submitBtn&quot;&gt;&lt;span&gt;Submit&lt;/span&gt;&lt;/button&gt;</pre></div></div>

<p>Y este sería el Código del Css</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">utton <span style="color: #00AA00;">&#123;</span> 
  <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> 
  <span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span><span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span> 
  <span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span><span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span> 
  <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">20px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span> 
  <span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span><span style="color: #993333;">center</span><span style="color: #00AA00;">;</span> 
<span style="color: #00AA00;">&#125;</span>
button span <span style="color: #00AA00;">&#123;</span> 
  <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span> 
  <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span> 
  <span style="color: #000000; font-weight: bold;">white-space</span><span style="color: #00AA00;">:</span><span style="color: #993333;">nowrap</span><span style="color: #00AA00;">;</span> 
  <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span> 
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*blue buttons*/</span>
button<span style="color: #6666ff;">.submitBtn</span> <span style="color: #00AA00;">&#123;</span> 
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/btn_blue_right.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span> 
  <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">1.3em</span><span style="color: #00AA00;">;</span> 
<span style="color: #00AA00;">&#125;</span>
button<span style="color: #6666ff;">.submitBtn</span> span <span style="color: #00AA00;">&#123;</span> 
  <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">50px</span><span style="color: #00AA00;">;</span> 
  <span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #933;">50px</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/btn_blue_left.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span> 
<span style="color: #00AA00;">&#125;</span>
button<span style="color: #6666ff;">.submitBtn</span><span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/btn_blue_right_hover.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #000000; font-weight: bold;">right</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span> 
<span style="color: #00AA00;">&#125;</span>
button<span style="color: #6666ff;">.submitBtn</span><span style="color: #3333ff;">:hover </span>span <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/btn_blue_left_hover.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #000000; font-weight: bold;">left</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span> 
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Esto es todo espero que les sea de su agrado este Efecto en Css</p>
<p><a class="verdemo" href="http://www.filamentgroup.com/lab/styling_the_button_element_with_sliding_doors/">Ver Ejemplo</a></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdesign/css/botones-de-formulario-con-bordes-redondos-solo-con-css/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Crear un buzón de correo con PHP imap_createmailbox()</title>
		<link>http://www.zoneartcss.com/webdevelopment/php/crear-un-buzon-de-correo-con-php-imap_createmailbox/</link>
		<comments>http://www.zoneartcss.com/webdevelopment/php/crear-un-buzon-de-correo-con-php-imap_createmailbox/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 22:48:17 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[bandeja de entrada]]></category>
		<category><![CDATA[buzon con php]]></category>
		<category><![CDATA[buzon de correo con php]]></category>
		<category><![CDATA[Crear un buzón de correo con PHP]]></category>
		<category><![CDATA[estado de mi correo]]></category>
		<category><![CDATA[imap_createmailbox()]]></category>
		<category><![CDATA[miguel ortega]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/?p=1040</guid>
		<description><![CDATA[Crear un buzón de correo con PHP Es muy interesante poder hacer que nuestros usuarios de nuestro portal puedan crear su correo con el nombre de nuestro dominio sabemos que esto es posible con google o con msn, pero es mejor si podemos crear nuestro propio buzon de bandeja de entrada en php con las funciones imap, recuerde que esto lo debe tener habilitado su servidor. Este es un breve condigo de como verificar es [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p style="text-align: center;"><img class="aligncenter" src="http://zoneartcss.com/wp-content/php_imap.jpg" alt="crear un buzon con php" width="500" height="130" /></p>
<h4 style="text-align: center;"><span style="color: #ff9900;">Crear un buzón de correo con PHP</span></h4>
<p>Es muy interesante poder hacer que nuestros usuarios de nuestro portal puedan crear su correo con el nombre de nuestro dominio sabemos que esto es posible con google o con msn, pero es mejor si podemos crear nuestro propio buzon de bandeja de entrada en php con las funciones imap, recuerde que esto lo debe tener habilitado su servidor.<br />
<span id="more-1040"></span><br />
Este es un breve condigo de como verificar es estado de un correo de tu propio dominio.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$buzon</span> <span style="color: #339933;">=</span> <span style="color: #990000;">imap_open</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;{imap.example.org}&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;usuario&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;contraseña&quot;</span><span style="color: #339933;">,</span> OP_HALFOPEN<span style="color: #009900;">&#41;</span>
     or <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;no se pudo conectar: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">imap_last_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$nombre1</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;phpnuevobuzon&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$nombre2</span> <span style="color: #339933;">=</span> <span style="color: #990000;">imap_utf7_encode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;phpnuevobuzón&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$nuevo_nombre</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$nombre1</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;El nuevo nombre será '<span style="color: #006699; font-weight: bold;">$nombre1</span>'&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// ahora crearemos un nuevo buzón &quot;phpbuzonprueba&quot; en su carpeta de entrada,</span>
<span style="color: #666666; font-style: italic;">// chequearemos su status después de su creación y finalmente lo removeremos</span>
<span style="color: #666666; font-style: italic;">// para recuperar el estado inicial del buzón de entrada</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">@</span><span style="color: #990000;">imap_createmailbox</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$buzon</span><span style="color: #339933;">,</span> <span style="color: #990000;">imap_utf7_encode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;{imap.example.org}INBOX.<span style="color: #006699; font-weight: bold;">$nuevo_nombre</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$status</span> <span style="color: #339933;">=</span> <span style="color: #339933;">@</span><span style="color: #990000;">imap_status</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$buzon</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;{imap.example.org}INBOX.<span style="color: #006699; font-weight: bold;">$nuevo_nombre</span>&quot;</span><span style="color: #339933;">,</span> SA_ALL<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$status</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;su nuevo buzón '<span style="color: #006699; font-weight: bold;">$nombre1</span>' tiene el siguiente status:&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Mensajes:      &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$status</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">messages</span>    <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Recientes:     &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$status</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">recent</span>      <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;No leídos:     &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$status</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">unseen</span>      <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Siguiente UID: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$status</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">uidnext</span>     <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Validez UID:   &quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$status</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">uidvalidity</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">imap_renamemailbox</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$buzon</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;{imap.example.org}INBOX.<span style="color: #006699; font-weight: bold;">$nuevo_nombre</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;{imap.example.org}INBOX.<span style="color: #006699; font-weight: bold;">$nombre2</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;se renombró el nuevo buzón de '<span style="color: #006699; font-weight: bold;">$nombre1</span>' a '<span style="color: #006699; font-weight: bold;">$nombre2</span>'&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
            <span style="color: #000088;">$nuevo_nombre</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$nombre2</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;imap_renamemailbox en el nuevo buzón falló: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">imap_last_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;imap_status en el nuevo buzón falló: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">imap_last_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">@</span><span style="color: #990000;">imap_deletemailbox</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$buzon</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;{imap.example.org}INBOX.<span style="color: #006699; font-weight: bold;">$nuevo_nombre</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;el nuevo buzón fue eliminado para recuperar el estado inicial&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;imap_deletemailbox en el nuevo buzón falló: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #990000;">imap_errors</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;no se pudo crear un nuevo buzón: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">implode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> <span style="color: #990000;">imap_errors</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;br /&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #990000;">imap_close</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$buzon</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Espero que les funcione yo lo probé y si me funciono.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdevelopment/php/crear-un-buzon-de-correo-con-php-imap_createmailbox/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Saber si el año es Bisiesto en PHP</title>
		<link>http://www.zoneartcss.com/tips/saber-si-el-ano-es-bisiesto-en-php/</link>
		<comments>http://www.zoneartcss.com/tips/saber-si-el-ano-es-bisiesto-en-php/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 19:29:31 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[30 febrero]]></category>
		<category><![CDATA[año bisiesto en php]]></category>
		<category><![CDATA[bisiesto]]></category>
		<category><![CDATA[bisiesto php]]></category>
		<category><![CDATA[miguel ortega]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/?p=977</guid>
		<description><![CDATA[Saber si el año es Bisiesto con PHP Con este sencillo codigo podemos saber si el año es bisiesto o no con php, esto nos puede servir algún día espero que les ayude en algo. Primero hacemos la funcion donde decimos si es 29 de febrero &#60;?php function Bisiesto&#40;$anyo&#41;&#123; return checkdate&#40;02,29,$anyo&#41;; &#125; $actual = date&#40;&#34;Y&#34;&#41;; $sig = $actual+1; if&#40;Bisiesto&#40;$actual&#41;&#41;&#123; echo $actual.&#34; es bisiesto&#60;br&#62;&#34;; &#125;else&#123; echo $actual.&#34; no es bisiesto&#60;br&#62;&#34;; &#125; &#160; if&#40;Bisiesto&#40;$sig&#41;&#41;&#123; echo $sig.&#34; es [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p style="text-align: center;"><img class="aligncenter" src="http://zoneartcss.com/wp-content/bisiesto_php.jpg" alt="año bisiesto con php" width="500" height="130" /></p>
<h4 style="text-align: center;"><span style="color: #ff9900;">Saber si el año es Bisiesto con PHP</span></h4>
<p>Con este sencillo codigo podemos saber si el año es bisiesto o no con php, esto nos puede servir algún día espero que les ayude en algo.</p>
<p>Primero hacemos la funcion donde decimos si es 29 de febrero<br />
<span id="more-977"></span></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">function</span> Bisiesto<span style="color: #009900;">&#40;</span><span style="color: #000088;">$anyo</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">return</span> <span style="color: #990000;">checkdate</span><span style="color: #009900;">&#40;</span><span style="color: #208080;">02</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">29</span><span style="color: #339933;">,</span><span style="color: #000088;">$anyo</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000088;">$actual</span> <span style="color: #339933;">=</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Y&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$sig</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$actual</span><span style="color: #339933;">+</span><span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>Bisiesto<span style="color: #009900;">&#40;</span><span style="color: #000088;">$actual</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$actual</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; es bisiesto&lt;br&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$actual</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; no es bisiesto&lt;br&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>Bisiesto<span style="color: #009900;">&#40;</span><span style="color: #000088;">$sig</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$sig</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; es bisiesto&lt;br&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$sig</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; no es bisiesto&lt;br&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Espero que les sea de utilidad.<br />
Saludos.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/tips/saber-si-el-ano-es-bisiesto-en-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intercambiar los colores con X filas en Php</title>
		<link>http://www.zoneartcss.com/webdevelopment/programacion-con-style/intercambiar-los-colores-con-x-filas-en-php/</link>
		<comments>http://www.zoneartcss.com/webdevelopment/programacion-con-style/intercambiar-los-colores-con-x-filas-en-php/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 19:23:53 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[Programación con Style]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Efecto Zebra]]></category>
		<category><![CDATA[efecto zebra en tus tablas]]></category>
		<category><![CDATA[en una tabla]]></category>
		<category><![CDATA[filas]]></category>
		<category><![CDATA[intercalar colores php]]></category>
		<category><![CDATA[intercambio de colores]]></category>
		<category><![CDATA[miguel ortega]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[zebra tablas con php]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/?p=975</guid>
		<description><![CDATA[Colorear filas con php [Efecto Zebra] A la hora de hacer listados, puede darse el caso que la legibilidad de las filas no sea buena, por lo tanto sera conveniente usar dos colores diferentes de background para cada fila, de manera que se vayan intercalando y la legibilidad sea buena. Como hacemos esto? Pues una de las maneras más elegantes es usar el operador ternario. Aquí les dejo el codiguito: &#60;?php $color = &#34;#000000&#34;; $i [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p style="text-align: center;"><img class="aligncenter" src="http://zoneartcss.com/wp-content/zebra_php.jpg" alt="zebra en tus tablas" width="500" height="130" /></p>
<h4 style="text-align: center;"><span style="color: #ff9900;">Colorear filas con php [Efecto Zebra]</span></h4>
<p>A la hora de hacer listados, puede darse el caso que la legibilidad de las filas no sea buena, por lo tanto sera conveniente usar dos colores diferentes de background para cada fila, de manera que se vayan intercalando y la legibilidad sea buena. Como hacemos esto? Pues una de las maneras más elegantes es usar el operador ternario.<br />
<span id="more-975"></span><br />
Aquí les dejo el codiguito:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000088;">$color</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;#000000&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;</span> <span style="color: #cc66cc;">10</span><span style="color: #009900;">&#41;</span> 
<span style="color: #009900;">&#123;</span>
   <span style="color: #000088;">$color</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$color</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;#000000&quot;</span><span style="color: #009900;">&#41;</span> ? <span style="color: #0000ff;">&quot;#FFFFFF&quot;</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">&quot;#000000&quot;</span><span style="color: #339933;">;</span>
   <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$color</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;br&gt;&quot;</span><span style="color: #339933;">;</span>
   <span style="color: #000088;">$i</span><span style="color: #339933;">++;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Dejen sus comentarios!!!</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdevelopment/programacion-con-style/intercambiar-los-colores-con-x-filas-en-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Evitar la Cache de los Navegadores con php</title>
		<link>http://www.zoneartcss.com/webdevelopment/programacion-con-style/evitar-la-cache-de-los-navegadores-con-php/</link>
		<comments>http://www.zoneartcss.com/webdevelopment/programacion-con-style/evitar-la-cache-de-los-navegadores-con-php/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 19:20:36 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[Programación con Style]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[evitar cache con php]]></category>
		<category><![CDATA[miguel ortega]]></category>
		<category><![CDATA[navegadores]]></category>
		<category><![CDATA[no guardar cache con php]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/?p=973</guid>
		<description><![CDATA[No guardar cache con PHP Este es un tip muy útil, es como evitar que el navegador guarde en cache tu web,y así puedan visualizar los usuarios en tiempo real el contenido de tu web.. Este es el codigo &#60;?php header&#40; &#34;Expires: Mon, 26 Jul 1997 05:00:00 GMT&#34; &#41;; // disable IE caching header&#40; &#34;Last-Modified: &#34; . gmdate&#40; &#34;D, d M Y H:i:s&#34; &#41; . &#34; GMT&#34; &#41;; header&#40; &#34;Cache-Control: no-cache, must-revalidate&#34; &#41;; header&#40; &#34;Pragma: [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p style="text-align: center;"><img class="aligncenter" src="http://zoneartcss.com/wp-content/no_cache_php.jpg" alt="no guardar cache" width="500" height="130" /></p>
<h4 style="text-align: center;"><span style="color: #ff9900;">No guardar cache con PHP</span></h4>
<p>Este es un tip muy útil, es como evitar que el navegador guarde en cache tu web,y así puedan visualizar los usuarios en tiempo real el contenido de tu web..<br />
<span id="more-973"></span><br />
Este es el codigo</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;Expires: Mon, 26 Jul 1997 05:00:00 GMT&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// disable IE caching</span>
<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;Last-Modified: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">gmdate</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;D, d M Y H:i:s&quot;</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot; GMT&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;Cache-Control: no-cache, must-revalidate&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;Pragma: no-cache&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Espero que les sea útil.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdevelopment/programacion-con-style/evitar-la-cache-de-los-navegadores-con-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copiar archivos remotos con PHP</title>
		<link>http://www.zoneartcss.com/webdevelopment/php/copiar-archivos-remotos-con-php/</link>
		<comments>http://www.zoneartcss.com/webdevelopment/php/copiar-archivos-remotos-con-php/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 18:43:51 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[archivos remotos]]></category>
		<category><![CDATA[copiar archivos]]></category>
		<category><![CDATA[copiar archivos remotos]]></category>
		<category><![CDATA[copy files remotes]]></category>
		<category><![CDATA[miguel ortega]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/?p=971</guid>
		<description><![CDATA[Copiar archivos remotos Si necesitas hacer una copia de un archivo remoto a tu servidor, con php es posible con un sencillo codigo, de echo a mi me hacia falta ese código y anduve investigando. Usa la funcion file_get_contents() y file_put_contents() para leer un archivo remoto y escribir su contenido en un archivo local &#60;?php // incrementamos el limite de ejecucion para este script ini_set&#40;'max_execution_time', 600&#41;; &#160; // definimos la URL del archivo a descargar [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p style="text-align: center;"><img class="aligncenter" src="http://zoneartcss.com/wp-content/copiar_php.jpg" alt="copi files" width="500" height="130" /></p>
<h4 style="text-align: center;"><span style="color: #ff9900;">Copiar archivos remotos</span></h4>
<p>Si necesitas hacer una <strong>copia de un archivo remoto</strong> a tu servidor, <strong>con php</strong>  es posible con un sencillo codigo, de echo  a mi me hacia falta ese código y anduve investigando.<br />
<span id="more-971"></span><br />
Usa la funcion file_get_contents() y file_put_contents() para leer un archivo remoto y escribir su contenido en un archivo local</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">// incrementamos el limite de ejecucion para este script</span>
<span style="color: #990000;">ini_set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'max_execution_time'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">600</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// definimos la URL del archivo a descargar</span>
<span style="color: #000088;">$ArchivoRemoto</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;http://zoneartcss.com/archivo.zip&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// definimos el nombre de la copia local</span>
<span style="color: #000088;">$ArchivoLocal</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;el_mio.zip&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Leemos el archivo remoto</span>
<span style="color: #000088;">$datos</span> <span style="color: #339933;">=</span> <span style="color: #990000;">file_get_contents</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ArchivoRemoto</span><span style="color: #009900;">&#41;</span>
    or <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;No se piede leer el archivo remoto&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Escribimos los datos en el archivo local</span>
<span style="color: #990000;">file_put_contents</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ArchivoLocal</span><span style="color: #339933;">,</span> <span style="color: #000088;">$datos</span><span style="color: #009900;">&#41;</span>
    or <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;No se puede escribir el archivo local&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Mostramos un mensaje de confirmacion</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;El archivo [<span style="color: #006699; font-weight: bold;">$ArchivoRemoto</span>] fue copiado a [<span style="color: #006699; font-weight: bold;">$ArchivoLocal</span>]&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Espero que le sea de utilidad, saludos.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdevelopment/php/copiar-archivos-remotos-con-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

