daily pastebin goal
71%
SHARE
TWEET

Untitled

a guest Dec 18th, 2017 40 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $srv = Array( 'host'  => 'myredishost.euw1.cache.amazonaws.com',
  2.               'port'    => 6379,
  3.               'database' => 1
  4.             );
  5. $redis= new PredisClient($srv);
  6. $redis->connect();
  7. echo $redis->get('validkey');
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top