################################################################################################# # # Project : mgbnet.org # File name : config.php # Version : 1.0 # Author : Will Prescott # e-mail : will@willprescott.co.uk # Purpose : Configuration File # Last modified : 11/06/2005 16:08:19 # ################################################################################################# // MySQL Configuration $server = "localhost"; // Your MySQL Server, most cases "localhost" $database = "mgbgt01_mgb"; // Database Name //$database = "mgbnet"; // Database Name $db_user = "mgbgt01_mgb"; // Your MySQL Username //$db_user = "mgbnet"; // Your MySQL Username $db_pass = "jVJ88BMNQtwv"; // Your MySQL Password // Current URI Information //$url_to_start = "http://mgb-gt"; // Preferred hostname - NO trailing slashes $url_to_start = "https://mgb-gt.co.uk"; // Preferred hostname - NO trailing slashes $thisUrl = $url_to_start.$_SERVER["REQUEST_URI"]; // Guestbook Configuration $adminpass = "flapjax6"; // Password for Administration $guestbook_head = "Guestbook"; // Guestbook Header (Name) $gb_notify = ""; // leave it empty -> disable notify $limit = array(3,1000); // Message Limits (min,max) $image_dir = "images"; // Image Directory, no trailing slashes $perpage = "10"; // how many entries per page $pperpage = "15"; // number of pagination links $gb_link1 = "Add Entry"; $gb_link1desc = "Add your Guestbook Entry"; $gb_link1head = "Add Guestbook Entry"; $gb_pages = "Pages:"; $gb_name = "Name"; $gb_comments = "Comments"; $gb_location = "Location: "; $gb_posted = "posted: "; $gb_modcomment = "Moderator-Comment: "; $gbadd_name = "Name:"; $gbadd_location = "Location:"; $gbadd_email = "E-Mail:"; $gbadd_car = "Car:"; $gbadd_url = "Website URL:"; $gbadd_msg = "Message:"; $ad_pages = "Pages:"; $submit = "Submit"; $location_sel = "Select your location"; $error_messages = array( "An error has occurred, please try again.", "Sorry, your message has to be between {$limit[0]} and {$limit[1]} characters.", "Invalid e-mail entry, please enter your full e-mail address or leave blank.", "Sorry, no URLs allowed in messages.", "Give it a rest please."); // Scrapbook configuration $cfg_debug_on = 1; //Debug database errors // path to fullsize images directory - no trailing slash $cfg_pics_path = $_SERVER['DOCUMENT_ROOT']."/classic/images/gallery/large"; // url to fullsize images directory - no trailing slash $cfg_pics_url = "/classic/images/gallery/large"; // path to thumbnail images directory - no trailing slash $cfg_thumb_path = $_SERVER['DOCUMENT_ROOT']."/classic/images/gallery/small"; // url to thumbnail images directory - no trailing slash $cfg_thumb_url = "/classic/images/gallery/small"; ?>