/* Welcome to the Ad Peeps Configuration File. This file will be called to retrieve your Mysql Database information as well as other configuration settings used throughout the program. You MUST go through each item to ensure they are properly setup so you won't have any trouble using the software. We have organized the file in sections. Sections 1, 2, and 3 are required to be filled in. Step 5 is a MUST for automated advertising. All other sections you can leave at defaults if you wish. */ //################# STEP 1 (REQUIRED) ############### $mysqlusername = 'sultano2'; // replace 'username' with your mysql username $mysqlpassword = 'saeed123QAZ'; // replace 'password' with your mysql password $mysqldatabase = 'sultano2'; // replace 'database' with the name of your mysql database $mysqlhost = 'p41mysql141.secureserver.net'; // mysql host and port (can normally leave as is) //################# STEP 1 (REQUIRED) ############### //################# STEP 2 (REQUIRED) ############### $banner_url = "http://www.sultan.org/adv"; // URL of Ad Peeps Script Directory (DO NOT PUT "/" AT END) //################# STEP 2 (REQUIRED) ############### //################# STEP 3 (REQUIRED - PAY ATTENTION) ############### // PASTE YOUR REGISTRATION CODE BELOW IN THE WHITE SPACE. BE SURE TO INCLUDE THE $rc variable completely. Failure // to do this as instructed will cause the software to block access and say it has expired when it really has not. //$rc="eaambdfhjlnprccbdfhjlnprac"; $rc = "zxtuv"; //################# STEP 3 (REQUIRED) ############### //################# STEP 4 (Google Themes) ############### $theme_border = array("#ffcc33","#b4b0dc","#a8dda0","#8d8d8d"); $theme_borderstyle = array("solid","solid","solid","dotted"); $theme_background = array("#fcf9d7","#ecf8ff","#0ffe3","#eeeee5"); $theme_color = array("#616161","#616161","#616161","#000000"); $theme_count = "4"; //################# STEP 4 (Google Themes) ############### //################# STEP 4 (ADVERTISING SETTINGS) ############### $require_admin_approval = 1; // 1 = require admin to approve all new ads 0 = auto approve $text_ad_char_limit = "60"; $paypal_currency = "USD"; //for Canadian replace USD with CAD $admin_email = "mail@sultan.org"; // E-mail address of administrator //$proxy_url = "http://64.202.165.130:3128"; // If on godaddy or need to use proxy, uncomment this # Authorize.net Settings $transkey = "put tanskey here"; $loginid = "place login id here"; # Authorize.net Settings //################# STEP 4 (ADVERTISING SETTINGS) ############### $persistentconnection = "N"; //if you show a lot of impressions (high traffic site), set this to "Y". // ADMIN PASSWORD RESET $reset_admin_pass = 0; // If you lost your admin password, change the 0 to 1. Then, login as admin and use the username and password "admin". // This will reset you back to "admin". Change this BACK to 0 when done. // ADMIN PASSWORD RESET $use_geo = 1; //////////////////////// DO NOT EDIT BELOW THIS LINE //////////////////////// $time = getdate(time()); function dbconnection_start ($mysqlusername, $mysqlpassword, $mysqldatabase) { global $mysqlhost, $persistentconnection; // connect to mysql database $persistentconnection = ($persistentconnection == "Y") ? @MYSQL_PCONNECT("$mysqlhost", "$mysqlusername", "$mysqlpassword") OR die(mysql_error()) : @MYSQL_CONNECT("$mysqlhost", "$mysqlusername", "$mysqlpassword") OR die(mysql_error()); @mysql_select_db("$mysqldatabase") or die(mysql_error()); // connect to mysql database } function dbconnection_end () { // end mysql database connection MYSQL_CLOSE(); // end mysql database connection } ?>
Fatal error: Call to undefined function dbconnection_start() in /home/content/s/u/l/sultano/html/adv/adpeeps.php on line 98