<?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; php</title>
	<atom:link href="http://www.zoneartcss.com/category/webdevelopment/php/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>Captcha personalizable en PHP y jQuery</title>
		<link>http://www.zoneartcss.com/webdevelopment/php/captcha-personalizable-en-php-y-jquery/</link>
		<comments>http://www.zoneartcss.com/webdevelopment/php/captcha-personalizable-en-php-y-jquery/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 22:52:26 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[captcha en jquery]]></category>
		<category><![CDATA[captcha en php]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/?p=3618</guid>
		<description><![CDATA[reCAPTCHA es un código escrito en PHP y CSS para hacer el efecto de recarga de un código nuevo en el CAPTCH. Con este ejemplo puedes crear tu propio estilo de Captcha completamente personalizado. Código jQuery: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 $&#40;document&#41;.ready&#40;function&#40;&#41; &#123; &#160; // refresh captcha $&#40;'img#captcha-refresh'&#41;.click&#40;function&#40;&#41; &#123; &#160; change_captcha&#40;&#41;; &#125;&#41;; &#160; function change_captcha&#40;&#41; &#123; document.getElementById&#40;'captcha'&#41;.src=&#34;get_captcha.php?rnd=&#34; + Math.random&#40;&#41;; &#125; &#160; &#125;&#41;; Código HTML: 1 2 [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p>reCAPTCHA es un código escrito en PHP y CSS para hacer el efecto de recarga de un código nuevo en el CAPTCH.</p>
<p>Con este ejemplo puedes crear tu propio estilo de Captcha completamente personalizado.</p>
<p>Código jQuery:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
&nbsp;
 <span style="color: #006600; font-style: italic;">// refresh captcha</span>
 $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'img#captcha-refresh'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>  
&nbsp;
		change_captcha<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
 <span style="color: #003366; font-weight: bold;">function</span> change_captcha<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
 <span style="color: #009900;">&#123;</span>
	document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'captcha'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">src</span><span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;get_captcha.php?rnd=&quot;</span> <span style="color: #339933;">+</span> Math.<span style="color: #660066;">random</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 <span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Código HTML:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;!-- Captcha HTML Code --&gt;
&nbsp;
	&lt;div id=&quot;captcha-wrap&quot;&gt;
		&lt;div class=&quot;captcha-box&quot;&gt;
			&lt;img src=&quot;get_captcha.php&quot; alt=&quot;&quot; id=&quot;captcha&quot; /&gt;
		&lt;/div&gt;
		&lt;div class=&quot;text-box&quot;&gt;
			&lt;label&gt;Type the two words:&lt;/label&gt;
			&lt;input name=&quot;captcha-code&quot; type=&quot;text&quot; id=&quot;captcha-code&quot;&gt;
		&lt;/div&gt;
		&lt;div class=&quot;captcha-action&quot;&gt;
			&lt;img src=&quot;refresh.jpg&quot;  alt=&quot;&quot; id=&quot;captcha-refresh&quot; /&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&nbsp;
	&lt;!--  Copy and Paste above html in any form and include CSS, get_captcha.php files to show the captcha  --&gt;</pre></td></tr></table></div>

<p>Código CSS:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#captcha-wrap</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#870500</span> <span style="color: #933;">1px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">270px</span><span style="color: #00AA00;">;</span>
	-webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	-moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#870500</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span><span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-left</span><span style="color: #00AA00;">:</span><span style="color: #933;">80px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#captcha-wrap</span> .captcha-box<span style="color: #00AA00;">&#123;</span>
	-webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">7px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
	-moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">7px</span><span style="color: #00AA00;">;</span>
	border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">7px</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: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#fff</span> <span style="color: #933;">1px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#captcha-wrap</span> .text-box<span style="color: #00AA00;">&#123;</span>
	-webkit-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">7px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#ffdc73</span><span style="color: #00AA00;">;</span>
	-moz-border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">7px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">140px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">43px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
	border-radius<span style="color: #00AA00;">:</span> <span style="color: #933;">7px</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: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#ffdc73</span> <span style="color: #933;">1px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#captcha-wrap</span> <span style="color: #6666ff;">.text-box</span> input<span style="color: #00AA00;">&#123;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">120px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#captcha-wrap</span> <span style="color: #6666ff;">.text-box</span> label<span style="color: #00AA00;">&#123;</span>
	 <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000000</span><span style="color: #00AA00;">;</span>
	 <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> helvetica<span style="color: #00AA00;">,</span><span style="color: #993333;">sans-serif</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;">12px</span><span style="color: #00AA00;">;</span>	
	 <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">150px</span><span style="color: #00AA00;">;</span>
	 <span style="color: #000000; font-weight: bold;">padding-top</span><span style="color: #00AA00;">:</span><span style="color: #933;">3px</span><span style="color: #00AA00;">;</span> 
	 <span style="color: #000000; font-weight: bold;">padding-bottom</span><span style="color: #00AA00;">:</span><span style="color: #933;">3px</span><span style="color: #00AA00;">;</span> 
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#captcha-wrap</span> .captcha-action<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">117px</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;">logos.jpg</span><span style="color: #00AA00;">&#41;</span> <span style="color: #000000; font-weight: bold;">top</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;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">44px</span><span style="color: #00AA00;">;</span> <span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span><span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#captcha-wrap</span>  img<span style="color: #cc00cc;">#captcha-refresh</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin-top</span><span style="color: #00AA00;">:</span><span style="color: #933;">9px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#333333</span> <span style="color: #933;">1px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span><span style="color: #933;">6px</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: #00AA00;">&#125;</span></pre></td></tr></table></div>

<a class="downloadlink" href="http://www.zoneartcss.com/descargasDescargar+Captccha+en+PHP+y+jQuery" title=" descargado 49 veces" >Descargar Captccha en PHP y jQuery (49)</a>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdevelopment/php/captcha-personalizable-en-php-y-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Contador de Seguidores en Facebook,Twitter y Rss</title>
		<link>http://www.zoneartcss.com/webdevelopment/php/contador-de-seguidores-en-facebooktwitter-y-rss/</link>
		<comments>http://www.zoneartcss.com/webdevelopment/php/contador-de-seguidores-en-facebooktwitter-y-rss/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 17:09:29 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[contador de fans de facebook]]></category>
		<category><![CDATA[contador de rss]]></category>
		<category><![CDATA[contador de seguidores de twitter]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/?p=3604</guid>
		<description><![CDATA[Excelente Script basado en PHP y jQuery que su funcionalidad es de un contador de redes sociales, Te imprime la cantidad de seguidores que tienes en twitter, facebook y rss; Adicionalmente el conteo total de seguidores.]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p>Excelente Script basado en <strong>PHP y jQuery</strong> que su funcionalidad es de un contador de<strong> <a href="http://www.creattoweb.com" target="_blank">redes sociales</a></strong>, Te imprime la cantidad de seguidores que tienes en twitter, <strong>facebook y rss</strong>; Adicionalmente el conteo total de seguidores.</p>
<p><center><br />
<a href="http://www.zoneartcss.com/webdevelopment/php/contador-de-seguidores-en-facebooktwitter-y-rss/attachment/contador-social/" rel="attachment wp-att-3605"><img class="aligncenter size-full wp-image-3605" title="contador-social" src="http://www.zoneartcss.com/wp-content/uploads/2011/10/contador-social.png" alt="" width="238" height="63" /><br />
</a><a class="downloadlink" href="http://www.zoneartcss.com/descargasDescargar+contador+Social" title=" descargado 50 veces" >Descargar contador Social (50)</a></center></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdevelopment/php/contador-de-seguidores-en-facebooktwitter-y-rss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Login &#243; Signup con jQuery y PHP</title>
		<link>http://www.zoneartcss.com/webdevelopment/php/login-signup-con-jquery-y-php/</link>
		<comments>http://www.zoneartcss.com/webdevelopment/php/login-signup-con-jquery-y-php/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 19:39:59 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[inicio de sesion con jquery]]></category>
		<category><![CDATA[inicio de sesion php]]></category>
		<category><![CDATA[simple inicio de sesión]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/webdevelopment/php/login-signup-con-jquery-y-php/</guid>
		<description><![CDATA[Algunos usuarios no le gusta llenar el formulario de inscripción.&#160; Así que ese inicio de sesión que había puesto en práctica es más simple y los campos singup están en el mismo bloque, este script esta echo sólo con jQuery y PHP. &#160; Es Javascript simple y básico código PHP. Descargar en: 9lessons]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p>Algunos usuarios no le gusta llenar el formulario de inscripción.&#160; Así que ese inicio de sesión que había puesto en práctica es más simple y los campos singup están en el mismo bloque, este script esta echo sólo con jQuery y PHP. </p>
<p> <span id="more-2366"></span>
<p>&#160;</p>
<p><a href="http://www.zoneartcss.com/wp-content/uploads/2010/11/image27.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://www.zoneartcss.com/wp-content/uploads/2010/11/image_thumb25.png" width="573" height="310" /></a> </p>
<p>Es Javascript simple y básico código PHP.   </p>
<p>Descargar en: <a href="http://www.9lessons.info/2010/04/log-in-or-sign-up-with-jquery-and-php.html" target="_blank">9lessons</a></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdevelopment/php/login-signup-con-jquery-y-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Motor de plantillas para PHP</title>
		<link>http://www.zoneartcss.com/webdevelopment/php/motor-de-plantillas-para-php/</link>
		<comments>http://www.zoneartcss.com/webdevelopment/php/motor-de-plantillas-para-php/#comments</comments>
		<pubDate>Fri, 12 Nov 2010 17:44:49 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[plantillas php]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/webdevelopment/php/motor-de-plantillas-para-php/</guid>
		<description><![CDATA[Twig es un motor de plantillas para PHP cuyo objetivo es ofrecer una alternativa flexible, potente y segura a otros motores similares como Smarty. Twig ha sido creado por los desarrolladores del framework Symfony Ir a: twig-project.org]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p> Twig es un motor de plantillas para PHP cuyo objetivo es ofrecer una alternativa flexible, potente y segura a otros motores similares como Smarty. </p>
<p> <span id="more-2340"></span>
<p><a href="http://www.zoneartcss.com/wp-content/uploads/2010/11/image19.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://www.zoneartcss.com/wp-content/uploads/2010/11/image_thumb17.png" width="596" height="148" /></a></p>
<p>Twig ha sido creado por los desarrolladores del framework Symfony   </p>
<p>Ir a: <a href="http://www.twig-project.org/" target="_blank">twig-project.org</a></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdevelopment/php/motor-de-plantillas-para-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Haciendo un POST con Sockets</title>
		<link>http://www.zoneartcss.com/webdevelopment/php/haciendo-un-post-con-sockets/</link>
		<comments>http://www.zoneartcss.com/webdevelopment/php/haciendo-un-post-con-sockets/#comments</comments>
		<pubDate>Mon, 27 Sep 2010 17:58:10 +0000</pubDate>
		<dc:creator>miguelortega</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[acceso remoto en php]]></category>
		<category><![CDATA[fsockopen]]></category>
		<category><![CDATA[post en php]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/webdevelopment/php/haciendo-un-post-con-sockets/</guid>
		<description><![CDATA[En este ejemplo&#160; nos podemos encontrar como hacer un post a un url externa de tu sitio web, este ejemplo utilizamos fsockopen(). Es interesante porque podemos automatizar registro de formularios de otros sitios o ejecutar funciones externas. Veamos el Ejemplo: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 &#160; &#60;?php [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p>En este ejemplo&#160; nos podemos encontrar como <strong>hacer un post a un url externa de tu sitio web</strong>, este ejemplo <strong>utilizamos fsockopen().</strong> Es interesante porque podemos automatizar registro de <strong>formularios de otros sitios o ejecutar funciones externas</strong>.</p>
<p> <span id="more-2173"></span>
<p>Veamos el Ejemplo:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">/* Send POST request to https://secure.example.com/form_action.php
* Include form elements named &quot;foo&quot; and &quot;bar&quot; with dummy values
*/</span>
&nbsp;
<span style="color: #000088;">$sock</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fsockopen</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;ssl://secure.example.com&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">443</span><span style="color: #339933;">,</span> <span style="color: #000088;">$errno</span><span style="color: #339933;">,</span> <span style="color: #000088;">$errstr</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">30</span><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: #339933;">!</span><span style="color: #000088;">$sock</span><span style="color: #009900;">&#41;</span> <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$errstr</span> (<span style="color: #006699; font-weight: bold;">$errno</span>)<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;foo=&quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">urlencode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Value for Foo&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&amp;bar=&quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">urlencode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Value for Bar&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;POST /form_action.php HTTP/1.0<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Host: secure.example.com<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Content-type: application/x-www-form-urlencoded<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Content-length: &quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Accept: */*<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$data</span><span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">fwrite</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$headers</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span> <span style="color: #339933;">=</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">fgets</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">4096</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$str</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$body</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">feof</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #000088;">$body</span> <span style="color: #339933;">.=</span> <span style="color: #990000;">fgets</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">4096</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sock</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Visto en PHP.net</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdevelopment/php/haciendo-un-post-con-sockets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prototype &#8211; Añade ventanas o diálogos</title>
		<link>http://www.zoneartcss.com/webdevelopment/php/prototype-anade-ventanas-o-dialogos/</link>
		<comments>http://www.zoneartcss.com/webdevelopment/php/prototype-anade-ventanas-o-dialogos/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 05:22:36 +0000</pubDate>
		<dc:creator>adda</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Desarrollo Web]]></category>
		<category><![CDATA[Herramientas Web]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[codigo abierto]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[páginas web]]></category>

		<guid isPermaLink="false">http://www.zoneartcss.com/?p=1891</guid>
		<description><![CDATA[Prototype es un framework desarrollado en JavaScript por Sam Stephenson para el desarrollo sencillo y dinámico de páginas Web. Prototype es un código abierto (bajo licencia MIT) configurable modal sistema de ventanas. La biblioteca le permite añadir una ventana o un diálogo. Windows puede tener una sombra y ser legible; modo modal está disponible, y hay un gestor de ventanas para el comportamiento de Web OS. Prototipo de interfaz de usuario simplifica la forma en [...]]]></description>
			<content:encoded><![CDATA[<div id=HOTWordsTxt name=HOTWordsTxt><p>Prototype es un framework desarrollado en JavaScript por Sam Stephenson para el <a href="http://www.miempresaenlinea.com" target="_blank">desarrollo sencillo y dinámico de páginas Web</a>.</p>
<p>Prototype es un código abierto (bajo licencia MIT) configurable modal sistema de ventanas. La biblioteca le permite añadir una ventana o un diálogo. Windows puede tener una sombra y ser legible; modo modal está disponible, y hay un gestor de ventanas para el comportamiento de Web OS. Prototipo de interfaz de usuario simplifica la forma en componentes de interfaz de usuario se agregan a las aplicaciones web modernas. Puede descargar cualquiera de los componentes por separado (como un simple archivo. Js) o descargar la colección completa (es aún un solo archivo. Js).</p>
<p><img class="aligncenter size-full wp-image-1892" src="http://www.zoneartcss.com/wp-content/uploads/2010/08/prototype-ui_ajax.jpg" alt="prototype-ui_ajax" width="550" height="199" /></p>
<p>Enlace: <a href="http://www.reencoded.com/2010/04/18/15-great-ajax-scripts-for-web-development/">reencoded.com</a></p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.zoneartcss.com/webdevelopment/php/prototype-anade-ventanas-o-dialogos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

