$link = mysql_connect("localhost", "yourtravel","Kirkcaldy2")or die("Could not connect"); mysql_select_db("yourtravel") or die("Could not select database"); ?> global $ytiweb_root_path; $dbms = 'mysql'; $dbhost = 'localhost'; $dbname = 'yourtravel'; $dbuser = 'yourtravel'; // Enter your mysql user name here $dbpasswd = 'Kirkcaldy2'; // Enter your mysql user name here $timezone = 1; // hours GMT = ??? // Security $htmlsafe = "yes"; // disable & enable html posting $commenthtmlsafe = "yes"; // Disable all HTML Tags for comment section prevent exploit $searchstriptagsenable = "yes"; // Strip all HTML Tags before search to prevent exploit $searchhtmlsafe = "yes"; // Disable all HTML Tags before search to prevent exploit // page Configuration $recentlimit = 15; // No of Recent Post to be displayed $archivelimit = 40; // No of Archive Post to be displayed $pagelimit = 5; // No of post per page $display_chop_text = "no"; $editlimit = 50; // No of post per page - Post Editing page $style = "yti"; // select template theme used $language = "lang_eng.php"; // select language used $pagebgcolor = "#ffffff"; //Begin - Added for sthweb 2.1.1 plus version with trackback & file upload // Switch between left of right side menu $right_menu = true; // set sidemenu to left or right //Email Notification $sender_email = "newposting@phildocherty.co.uk"; //Email address of comment sender $receive_email = "admin@phildocherty.co.uk"; //email of the comment notification receiver $emailnotification = true; //Use true or false // Trackback $enable_trackback = 0; // Allow trackback = 1 Disallow trackback = 0 $tb_title_len = 75; // Control title length $tb_excerpt_len = 255; // Control excerpt length $tb_pagename_len = 75; // Control pagename length $mypageURL = 'http://www.phildocherty.co.uk/'; // Enter URL of your website $mypagename = "Philip Docherty"; // Enter your name of your page site //File upload $max_size = 2000000; // maximum upload file size $file_mimes = array('image/jpeg','image/jpg','image/gif' // allowable type ,'image/png','application/msword'); // allowable ext $file_exts = array('.jpeg','.jpg','.png','.gif'); // allowable ext $allow_delete = true; // allow file delete //End - Added for sthweb 2.1.1 plus /// Dont change anything below here !! $html_entities_match = array('#&(?!(\#[0-9]+;))#', '#<#', '#>#'); $html_entities_replace = array('&', '<', '>'); define('POST_TBL', 'page_posts'); define('USER_TBL', 'page_user'); define('CAT_TBL', 'page_category'); define('COMMENT_TBL', 'page_comment'); if ($timezone > -1) { $sign = "+" ;} $mb_version = "";// "2.1.1 plus"; $page_desc = "";// "sthweb - Open Source Wepage"; ?>