<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Web-Master Center</title>
	<atom:link href="http://wmcenter.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://wmcenter.wordpress.com</link>
	<description>Sólo otro weblog de WordPress.com</description>
	<lastBuildDate>Fri, 18 Dec 2009 01:32:57 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='wmcenter.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Web-Master Center</title>
		<link>http://wmcenter.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://wmcenter.wordpress.com/osd.xml" title="Web-Master Center" />
	<atom:link rel='hub' href='http://wmcenter.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Usando REMOTE_ADDR</title>
		<link>http://wmcenter.wordpress.com/2009/12/18/usando-remote_addr/</link>
		<comments>http://wmcenter.wordpress.com/2009/12/18/usando-remote_addr/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 01:31:52 +0000</pubDate>
		<dc:creator>chevax</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[función]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[{$_SERVER["REMOTE_ADDR"]}]]></category>

		<guid isPermaLink="false">http://wmcenter.wordpress.com/?p=16</guid>
		<description><![CDATA[Para hacer que nuestra página web tenga un toque de dinámico, este sencillísimo script nos va a ayudar. ¿Para qué sirve? Lo que hace la función REMOTE_ADDR es conseguir la IP del visitante/usuario que usa la web y mostrarla en tiempo real. Código: &#60;?php {$_SERVER["REMOTE_ADDR"]} ?&#62; LA FUNCIÓN CON UN ECHO: No tiene mucha arte [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wmcenter.wordpress.com&amp;blog=10943557&amp;post=16&amp;subd=wmcenter&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://wmcenter.files.wordpress.com/2009/12/php-file.png"><img class="alignleft size-full wp-image-17" title="php-file" src="http://wmcenter.files.wordpress.com/2009/12/php-file.png?w=544" alt=""   /></a>Para hacer que nuestra página web tenga un toque de dinámico, este sencillísimo script nos va a ayudar.</p>
<p><strong>¿Para qué sirve?</strong><br />
Lo que hace la función REMOTE_ADDR es conseguir la IP del visitante/usuario que usa la web y mostrarla en tiempo real.</p>
<p><strong>Código:</strong></p>
<pre>&lt;?php
{$_SERVER["REMOTE_ADDR"]}
?&gt;

<strong>
</strong></pre>
<p><strong>LA FUNCIÓN CON UN ECHO:</strong></p>
<p>No tiene mucha arte nuestro script si no le ponemos algun texto que ayude al visitante a saber qué es ese numero.<br />
Un simple &#8220;echo&#8221; resuelve nustros problemas.</p>
<p><strong>Código:</strong></p>
<p>&lt;?php<br />
echo &#8220;Su IP es {$_SERVER["REMOTE_ADDR"]}.&#8221;<br />
?&gt;</p>
<p>Espero que lo disfruten. Es un script sencillo, lo único que necesitamos para que este funcione es un hosting que soporte PHP.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/wmcenter.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/wmcenter.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/wmcenter.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/wmcenter.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/wmcenter.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/wmcenter.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/wmcenter.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/wmcenter.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/wmcenter.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/wmcenter.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/wmcenter.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/wmcenter.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/wmcenter.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/wmcenter.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=wmcenter.wordpress.com&amp;blog=10943557&amp;post=16&amp;subd=wmcenter&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://wmcenter.wordpress.com/2009/12/18/usando-remote_addr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7d504a84f2c2175e2d9e09d7804e5a3f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">chevax</media:title>
		</media:content>

		<media:content url="http://wmcenter.files.wordpress.com/2009/12/php-file.png" medium="image">
			<media:title type="html">php-file</media:title>
		</media:content>
	</item>
	</channel>
</rss>
