Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.73 KB | None | 0 0
  1. <?php
  2.  
  3.     $startPageGenTime = microtime();
  4.    
  5.     /*
  6.     *
  7.     $connect = array('host', 'users', 'passworld', 'sql');
  8.     *
  9.     */
  10.              
  11.     $connect = array('localhost', 'client235_lintifor', 'zxcasd98', 'client235_ravno');
  12.    
  13.     $base = $db = new mysqli($connect['0'], $connect['1'], $connect['2'], $connect['3']);
  14.    
  15.              $base -> query("SET NAMES 'UTF8'");
  16.                  
  17.                  if($base -> connect_errno) die('ERROR -> '.$base -> connect_error);
  18.                  
  19.     /*
  20.     *
  21.     Connect -> memcache
  22.     *
  23.     */
  24.     $memcache = new Memcache;
  25.     $memcache->connect('127.0.0.1', 11211) or die ('Error connecting to Memcache');
  26.    
  27.     /*
  28.     *
  29.     load file game
  30.     *
  31.     */
  32.    
  33.     include_once ('func.php');
  34.     include_once('modules.func.php');
  35.     include_once('campaign.func.php');
  36.  
  37.  
  38. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement