SHARE
TWEET

Untitled

a guest Jul 21st, 2017 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         $Config = "../config/SQL.cfg";
  2.     $fh = fopen($Config, 'r');
  3.     if(filesize($Config) < 3) die("Configuration file was unable to be read, Please redo the installation. Make sure you /install/config folder is CHMod 777. ERROR ID 3-0.");
  4.     $SQL_Host = fgets($fh);
  5.     $SQL_Username = fgets($fh);
  6.     $SQL_Password = fgets($fh);
  7.     $SQL_Database = fgets($fh);
  8.     fclose($fh);   
  9.     $Connection = mysql_connect($SQL_Host, $SQL_Userame, $SQL_Password) or die("An error has occured. EasyP was unable to connect to your database. ERROR ID 1-2");
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top