Er du Klog ?
Jeg har to filer, som der skal rettes til, men jeg aner ikke hvad jeg skal skrive, det ligger hos f2s, men du kan jo se filerne her :includes.inc :
<?php
#########################
# back-end.co.uk #
# #
# by nGen.co.uk #
# #
# Developer: #
# bealers@nGen.co.uk #
#########################
# includes/includes.inc
# First Edit 29/5/00
## IMPORTANT ##
# the path to the file in this include needs editing to suit your server,
# it should have the full path to settings.inc
require(\"/usr/local/apache/htdocs/sites/local.demo.back-end.org/includes/settings.inc\");
# connect to our database
$connect = MYSQL_CONNECT($hostname,$username,$password) OR DIE (\"Unable to connect to the back-end database\");
@mysql_select_db($database) OR DIE (\"Unable to select the back-end database\");
# $includes_path is set in settings.inc, it is the full path to the includes directory
# include all of our files needed for operation
require($includes_path . \"/english.inc\");
require($includes_path . \"/arrays.inc\");
require($includes_path . \"/auth.inc\");
require($includes_path . \"/backend-html.inc\");
require($includes_path . \"/html-snippets.inc\");
require($includes_path . \"/functions.inc\");
# include the Banner code - phpAds -- http://phpwizard.net/phpAds
require($includes_path . \"/ads/acl.inc\");
require($includes_path . \"/ads/banneracl.inc\");
require($includes_path . \"/ads/view.inc\");
?>
_____________________________________________
settings.inc :
<?php
#########################
# back-end.co.uk #
# #
# by nGen.co.uk #
# #
# Developer: #
# bealers@nGen.co.uk #
#########################
# includes/settings.inc
# 29/5/00
$demo = true; # DELETE THIS
##########################################
# I M P O R T A N T - paths and URLs #
# the url to the htdocs/front-end folder
$front_end_url = \"http://local.demo.back-end.org\";
# the url to the back-end/adini folder
$back_end_url = \"http://local.demo.back-end.org/back-end\";
# full path to your front-end/htdocs folder, no traing slash!
$front_end_path = \"/usr/local/apache/htdocs/sites/local.demo.back-end.org/htdocs\";
# full path to your back-end/admin area, no traing slash!
$back_end_path = \"/usr/local/apache/htdocs/sites/local.demo.back-end.org/back-end\";
# full path to your includes directory, no trailing slash!
$includes_path = \"/usr/local/apache/htdocs/sites/local.demo.back-end.org/includes\";
# #
##########################################
$site_title = \"Demo Site\"; # this appears between the <title></title> tags and also as general headings
$generic_email = \"info@back-end.co.uk\"; # a general email address for you
$admin_email = \"banner.admin@back-end.co.uk\"; # Administors email address (used to set the FROM-address when sending email)
$email_headers = \"From: $admin_email \\n\"; # Mail Headers for the reflection of the sender of the daily ad reports
$admin_name = \"user.Back-end.co.uk\"; # Administrators full name (used when sending out emails)
## Database
$username = \"back_end\";
$password = \"back_end\";
$hostname = \"localhost\";
$database = \"back_end\";
$back_end_version = \"v0.3.3\";
########### phpAds ###############
# http://www.phpWizard.net/phpAds
$phpAds_insert_delayed = false; # Use INSERT DELAYED in logging functions?
$phpAds_log_adviews = true; # Enabled logging of adviews?
$phpAds_log_adclicks = true; # Enabled logging of adclicks?
$phpAds_ignore_hosts = array(); # Example: array(\"slashdot.org\", \"microsoft.com\");
$phpAds_reverse_lookup = true; # Reverse DNS lookup remotes hosts?
set_magic_quotes_runtime(0); # Disable magic_quotes_runtime - don\'t change
$phpAds_tbl_adclicks = \"adclicks\";
$phpAds_tbl_adviews = \"adviews\";
$phpAds_tbl_banners = \"banners\";
$phpAds_tbl_clients = \"clients\";
$phpAds_tbl_session = \"session\";
$phpAds_tbl_acls = \"acls\";
?>
Hvis du kan fortælle mig hvor jeg skal rette noget og hvad det eventuelt skal rettes til så er de 97 points dine.
Hvis du har spøgsmål besvares de gerne.
..::Jacker::..
