<?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>PHP Grátis &#187; Cache</title>
	<atom:link href="http://www.phpgratis.com.br/category/cache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpgratis.com.br</link>
	<description>scripts e conteúdos gratuitos</description>
	<lastBuildDate>Tue, 11 Jan 2011 02:30:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Usando PHPCache</title>
		<link>http://www.phpgratis.com.br/cache/usando-phpcache/</link>
		<comments>http://www.phpgratis.com.br/cache/usando-phpcache/#comments</comments>
		<pubDate>Wed, 05 Sep 2007 13:07:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cache]]></category>

		<guid isPermaLink="false">http://www.phpgratis.com.br/cache/usando-phpcache/</guid>
		<description><![CDATA[Este é um artigo interessante sobre o uso do PHP cache publicado no site htmlcenter.com. Ele vai lhe ensinar a instalar a versão phpCache-1.4 Caching seems to be the new trend. But aside from all the marketing, it&#8217;s really a lot more than that. If you don&#8217;t have the money to buy those lovely Zend [...]]]></description>
			<content:encoded><![CDATA[<p>Este é um artigo interessante sobre o uso do PHP cache publicado no site htmlcenter.com. Ele vai lhe ensinar a instalar a versão <code>phpCache-1.4</p>
<p></code><br />
<blockquote>Caching seems to be the new trend. But aside from all the marketing,<br />
it&#8217;s really a lot more than that. If you don&#8217;t have the money to buy<br />
those lovely Zend products, you might find yourself turning to the<br />
world of Open Source (again). And viola! You&#8217;ll be helped.</p>
<p><a href="http://www.htmlcenter.com/tutorials/tutorials.cfm/158/php/">Leia mais&#8230;</a></p></blockquote>
<p>
<p class="poweredbyperformancing">Powered by <a href="http://scribefire.com/">ScribeFire</a>.</p>
<div id="crp_related"><ul><li><a href="http://www.phpgratis.com.br/php6/novidades-do-php-6/" rel="bookmark" class="crp_title">NOVIDADES DO PHP 6</a><span class="crp_excerpt"> 

O site da IBM publicou um ótimo artigo com as novidades que teremos com o &#8230;</span></li><li><a href="http://www.phpgratis.com.br/dicas/como-descobrir-o-pais-de-um-numero-ip/" rel="bookmark" class="crp_title">Como descobrir o país de um número IP</a><span class="crp_excerpt"> Uma dica de como descobrir o país onde está o visitante do seu site através &#8230;</span></li><li><a href="http://www.phpgratis.com.br/tutorial/como-instalar-php-e-mysql-no-windows/" rel="bookmark" class="crp_title">Como instalar PHP e Mysql no Windows</a><span class="crp_excerpt"> O site juliobattisti.com.br possui um tutorial interessante que lhe ensinará todos os passos para instalar &#8230;</span></li><li><a href="http://www.phpgratis.com.br/iniciante/como-ler-um-arquivo-texto-com-php/" rel="bookmark" class="crp_title">COMO LER UM ARQUIVO TEXTO COM PHP</a><span class="crp_excerpt"> Ler um arquivo texto e exibir seu conteúdo em uma página html é muito simples. &#8230;</span></li><li><a href="http://www.phpgratis.com.br/codigos/bloquear-ip-no-seu-script-php/" rel="bookmark" class="crp_title">Bloquear IP no seu script PHP</a><span class="crp_excerpt"> Aqui temos um código simples para bloquear os acessos vindos de um determinado número IP.

&lt;?php
// &#8230;</span></li><li><a href="http://www.phpgratis.com.br/funcoes/funcao-php-para-enviar-paginas-para-o-delicious/" rel="bookmark" class="crp_title">Função PHP para enviar páginas para o Del.icio.us</a><span class="crp_excerpt"> 
&lt;?php
//1. $site must start with http://
//2. $tags must be separated with spaces, not commas
//3. $proxy_addy &#8230;</span></li><li><a href="http://www.phpgratis.com.br/dicas/melhores-sites-internacionais-sobre-php-e-mysql/" rel="bookmark" class="crp_title">Melhores sites internacionais sobre PHP e Mysql</a><span class="crp_excerpt"> Segue aqui uma lista com sites que todo desenvolvedor de PHP/MYSQL deveria conhecer:

	 Web-based Databases &#8230;</span></li><li><a href="http://www.phpgratis.com.br/codigos/gerador-de-senhas-randomicas/" rel="bookmark" class="crp_title">Gerador de senhas randomicas</a><span class="crp_excerpt"> Este código cria senhas com caracteres aleatórios:

  &lt;?php

/**
* Generate a random password.
*
* @param  integer  $numchars      How long do we need the password to be?
* @param  boolean  $specialchars  Include the special characters?
* @param  boolean  $extrashuffle  Include an extra randomization on the password string?
* @return string
*/
function random_pass($numchars = 8, $specialchars = true, $extrashuffle = false)
{
$numchars = intval($numchars);
$numchars = ($numchars &gt; 16 OR $numchars &lt; 8) ? 8 : $numchars;

$chars = array_merge(range(&#8216;a&#8217;, &#8217;z'), range(0, 9));

if ($specialchars)
{
$chars = array_merge($chars, array(&#8216;!&#8217;, &#8217;$', &#8217;_', &#8217;-', &#8217;#', &#8217;@'));
}
shuffle($chars);

$pass = &#8221;;

for ($i = 0; $i &lt;= $numchars; $i++)
{
$pass .= $chars[$i];
}

if ($extrashuffle)
{
return str_shuffle($pass);
}
return $pass;
}
// Example, returns: 3ck#4sib2
echo random_pass(8, true, true);
?&gt;   </span></li><li><a href="http://www.phpgratis.com.br/codigos/mostrar-imagem-ou-banner-randomico/" rel="bookmark" class="crp_title">Mostrar imagem ou banner randomico</a><span class="crp_excerpt"> 

  &lt;?php
srand( microtime() * 1000000);
$advertise = rand(1,3);
//After the rand decided how many youve got and the first and last number e.g got 3, 1,3
switch($advertise)
//you can add more just use the same format
{
case 1 : $banner=&#8221;site 1 image url&#8221;; $url=&#8221;site one address&#8221;; $height=&#8221;height&#8221;; $width=&#8221;width&#8221;; break;
case 2 : $banner=&#8221;site 2 image url&#8221;; $url=&#8221;site two address&#8221;; $height=&#8221;height&#8221;; $width=&#8221;width&#8221;; break;
case 3 : $banner=&#8221;site 3 image url&#8221;; $url=&#8221;site 3 address&#8221;; $height=&#8221;height&#8221;; $width=&#8221;width&#8221;; break;
}
$display = &#8221;&lt;a href=\&#8221;$url\&#8221; target=\&#8221;_blank\&#8221;&gt; &#8221;;
$display.= &#8221;&lt;img src=\&#8221;$banner\&#8221;  &#8221;;
$display.= &#8221;width=\&#8221;$width\&#8221; height=\&#8221;$height\&#8221; border=\&#8221;0\&#8221; &gt;&#8221;;
$display.=&#8221;&lt;/a&gt;&#8221;;
echo($display);
?&gt;   </span></li><li><a href="http://www.phpgratis.com.br/tutorial/tudo-sobre-classes-e-objetos-em-php/" rel="bookmark" class="crp_title">Tudo sobre Classes e Objetos em PHP</a><span class="crp_excerpt"> Uma classe é um conjunto de variáveis e funções relacionadas a essas variáveis. Uma vantagem &#8230;</span></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.phpgratis.com.br/cache/usando-phpcache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

