⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 includes.inc.php

📁 股票监视器是一个简单的实用工具
💻 PHP
字号:
<?php/** PHP STOCK TRACKER* -----------------* A multi-user utility for creating and managing stock* watchlists and historical analysis.* Copyright (C) 2005 Joshua Eldridge (joshuae74@hotmail.com)*** This program is free software; you can redistribute it and/or modify* it under the terms of the GNU General Public License as published by* the Free Software Foundation; either version 2 of the License, or* (at your option) any later version.** This program is distributed in the hope that it will be useful,* but WITHOUT ANY WARRANTY; without even the implied warranty of* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the* GNU General Public License for more details.** You should have received a copy of the GNU General Public License* along with this program; if not, write to the Free Software* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA** See the COPYING file for full details.*//* Temporary directory for ADODB CACHE.   This directory must be readable and   writeable by the web server.*/$ADODB_CACHE_DIR = '/tmp/adodb_cache';/* Begin Database Configuration */$DBCONF['DEFAULTDB']['DB_TYPE'] = "mysql";$DBCONF['DEFAULTDB']['SERVER']  = "localhost";$DBCONF['DEFAULTDB']['USER']    = "mysql_admin";$DBCONF['DEFAULTDB']['PASS']    = "password";$DBCONF['DEFAULTDB']['DB']      = "stocks";/* Define Color Scheme *//*// GREEN$body_bgcolor = '#EAF7EF';$header_row = '#5CBE82';$row_primary = '#93D4AC';$row_secondary = '#C8E9D5';// BLUE$body_bgcolor = '#F8FDFE';$header_row = '#C6ECF7';$row_primary = '#ECF8FC';$row_secondary = '#DAF3FA';*/// YELLOW$body_bgcolor = '#FFFBED';$header_row = '#F9DE77';$row_primary = '#FDF4D1';$row_secondary = '#FBEAA5';/* End User Configuration *//* Make sure the cache dir for adodb exists and is writable.* If not, attempt to create it. If that fails, bomb out* with an error message.*/if(!@file_exists($ADODB_CACHE_DIR)) {   if(!@mkdir($ADODB_CACHE_DIR, 0000)) {      die('Failed to create adodb cache dir, please check settings.');   }}if(!@is_readable($ADODB_CACHE_DIR) || !@is_writable($ADODB_CACHE_DIR)) {    if(!@chmod($ADODB_CACHE_DIR, 0000)) {        die('Unable to properly set permissions on adodb cache dir, please check settings.');    }}/* Define the IN_VALID keyword to ensure all other*  pages that require this one are called correctly */define('IN_VALID', true);require_once('classes/quote.class.php');require_once('inc/functions.inc.php');require_once('inc/utilities.inc.php');require_once('adodb/adodb.inc.php');require_once('adodb/toexport.inc.php');require_once('classes/charts.php');/* Set the default behavior adodb results array */$ADODB_FETCH_MODE = ADODB_FETCH_BOTH;?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -