View Single Post
  #33 (permalink)  
Old 04-29-2008, 03:47 AM
senraj senraj is offline
D-Web Master
 
Join Date: Jul 2007
Posts: 418
senraj is on a distinguished road
Post Re: Why we need Memcache?

Hi,

After install memcache, sample implementation.

Now that all the pieces are in place, let's integrate memcached into our application. First thing we need to do is to connect to our memcached server:
PLAIN TEXT
PHP:
PHP Code:
     $memcache = new Memcache;
   
     
$memcache->connect('localhost'11211) or die ("Could not connect"); 
__________________
Regards,
Senraj.A
Reply With Quote