Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: No database selected

Parašė bruzgis· 2008 Sau. 19 19:01:52
#8

<?php
/*
Page:           _config-rating.php
Created:        Aug 2006
Last Mod:       Mar 18 2007
Holds info for connecting to the db, and some other vars
---------------------------------------------------------
ryan masuga, masugadesign.com
ryan@masugadesign.com
Licensed under a Creative Commons Attribution 3.0 License.
http://creativecommons.org/licen...
See readme.txt for full credit details.
--------------------------------------------------------- */

   //Connect to  your rating database
   
   $rating_dbhost        = 'localhost';
   $rating_dbuser        = '';
   $rating_dbpass        = '';
   $rating_dbname        = '';
   $rating_tableName     = '';
   $rating_path_db       = ''; // the path to your db.php file (not used yet!)
   $rating_path_rpc      = ''; // the path to your rpc.php file (not used yet!)
   
   $rating_unitwidth     = 30; // the width (in pixels) of each rating unit (star, etc.)
   // if you changed your graphic to be 50 pixels wide, you should change the value above
   
$rating_conn = mysql_connect($rating_dbhost, $rating_dbuser, $rating_dbpass) or die  ('Error connecting to mysql');
   //mysql_select_db($rating_dbname);

?>




Suvesk duomenis gi... config failas