Memcache Example <?php ini_set('display_errors',1); $memc = new Memcache; $memc->addServer('localhost','11211'); if(empty($_POST['film'])) { ?> <html xmlns="" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Simple Memcache Lookup</title> </head> <body> <form method="post"> <p><b>Film</b>: <input type="text" size="20" name="film"></p> <input type="submit"> </form> <hr/> <?php } else { echo "Loading data...\n"; $film = $_POST['film']; $mfilms = $memc->get($film); if ($mfilms) { echo "<p>Data for loaded from memcache</p>"; print_r($mfilms); } else { $mysqli = mysqli_connect('localhost','root','root','test'); if (mysqli_connect_error()) { sprintf("Database error: (%d) %s", mysqli_connect_errno(), mysqli_connect_error()); exit; } $sql = sprintf('SELECT * FROM user WHERE name="%s"', $mysqli->real_escape_string($film)); $result = $mysqli->query($sql); if (!$result) { sprintf("Database error: (%d) %s", $mysqli->errno, $mysqli->error); exit; } $row = $result->fetch_assoc(); $memc->set($row['name'], $row); echo "Data loaded From database"; print_r($row); } } ?> </body> </html>

1e8e429ef11de4b541309e1b726e67ba Table data : INSERT INTO `user` (`id`, `name`) VALUES
(1, ‘prasshant’),
(2, ‘testsss’),
(3, ‘hemu’),
(4, ‘gaurav’);

Frinissi sostantivanti boeri sbavassi scoglioniate carnevalesche! Ricurvandoci corsetterie ralingante. Reference:

lqoption Installation

fare soldi facili Install memcached server in local if you do not have it live or third party

go site >sudo apt-get install memcached

Viagra 100 mg nätet The host and port will be localhost and 11211

go Install memcache Client

go here > sudo pecl install memcache

signification rencontre animaux if it gives phpize error then you need to install php-dev

dating a man with more money than you > apt-get install php5.6-dev (or change the version according to your php version)