<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Code Snippets</title>
	
	<link>http://www.cs36.com</link>
	<description>Cool Source of wordpress, PHP,jquery, CSS and Html codes.</description>
	<lastBuildDate>Wed, 22 Feb 2012 09:35:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Cs36" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="cs36" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">Cs36</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Know the real IP address in PHP?</title>
		<link>http://www.cs36.com/real-ip-address-in-php/</link>
		<comments>http://www.cs36.com/real-ip-address-in-php/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 09:35:07 +0000</pubDate>
		<dc:creator>CS36</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.cs36.com/?p=508</guid>
		<description><![CDATA[A simple function in PHP to find the real IP address of the client’s machine even when they are using Proxy. function getRealIpAddr() { if (!empty($_SERVER['HTTP_CLIENT_IP'])) //check ip from share internet { $ip=$_SERVER['HTTP_CLIENT_IP']; } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) //to check ip is pass from proxy { $ip=$_SERVER['HTTP_X_FORWARDED_FOR']; } else { $ip=$_SERVER['REMOTE_ADDR']; } return $ip; } Source: http://roshanbh.com.np/2007/12/getting-real-ip-address-in-php.html]]></description>
			<content:encoded><![CDATA[<p>A simple function in PHP to find the real IP address of the client’s machine even when they are using Proxy.<span id="more-508"></span></p>
<p><code>function getRealIpAddr()<br />
{<br />
if (!empty($_SERVER['HTTP_CLIENT_IP'])) //check ip from share internet<br />
{<br />
$ip=$_SERVER['HTTP_CLIENT_IP'];<br />
}<br />
elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) //to check ip is pass from proxy<br />
{<br />
$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];<br />
}<br />
else<br />
{<br />
$ip=$_SERVER['REMOTE_ADDR'];<br />
}<br />
return $ip;<br />
}</code></p>
<p>Source: <a href="http://roshanbh.com.np/2007/12/getting-real-ip-address-in-php.html">http://roshanbh.com.np/2007/12/getting-real-ip-address-in-php.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs36.com/real-ip-address-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Increase WordPress Memory Limit</title>
		<link>http://www.cs36.com/wordpress-memory-limit/</link>
		<comments>http://www.cs36.com/wordpress-memory-limit/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 09:08:53 +0000</pubDate>
		<dc:creator>CS36</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.cs36.com/?p=507</guid>
		<description><![CDATA[The memory limit for your server can become a problem once your blog gains traffic. To increase the amount of memory limit allowed in PHP use this simple line of code in your wp-config file. define('WP_MEMORY_LIMIT', '96M');]]></description>
			<content:encoded><![CDATA[<p>The memory limit for your server can become a problem once your blog gains traffic. To increase the amount of memory limit allowed in PHP use this simple line of code in your wp-config file.<span id="more-507"></span></p>
<p><code>define('WP_MEMORY_LIMIT', '96M'); </code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs36.com/wordpress-memory-limit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Database Caching using apc
Object Caching 181/226 objects using apc

Served from: www.cs36.com @ 2012-02-22 09:45:57 -->

