Page 1 of 1

In Datenbank eine Tablle erstellen

PostPosted: 24. August 2010 16:05
by zukii
Huhu, ich habe mir mehrere Ligascripte runtergeladen, allerdings bekomme ich sie nicht in Gang ;(

In der readme steht, ich solle Tabellen erstellen, allerdings weiß ich nicht so richtig welche Daten ich da eintragen muss, hier mal die readme:

//start

//configure database info
$databaseserver = "localhost"; //usually localhost
$databasename = "name"; //the name of your database
$databaseuser = "username"; //the name of the database user
$databasepass = "password"; // the password to your database
$directory ="http://www.yoursite.com/WebLeague" ; //the location of your WebLeague directory (no trailing slash)

//configure the tables in the database
$playerstable = "webl_players"; //the name of the table that contains information about the players
$gamestable = "webl_games"; //the name of the table that stores the played games
$newstable = "webl_news"; // the name of the table that stores the news
$themestable = "webl_themes"; //the name of the table that stores the themes
$varstable = "webl_vars"; //the name of the table that stores various information
$rulestable = "webl_rules"; //the name of the table the stores the rules

//set some general information on your league
$leaguename = "Web<i>League</i>"; //the name of your league
$title = ".: Web League :."; //the title of your pages
$favicon = "$directory/WebLeaguefavicon.ico" ; //the location of the shortcut icon
$report = "winner"; //who reports? winner/loser
$pointswin = "2"; //the number of points awarded for a win
$pointsloss = "-1"; //the number of points awarded for a loss

//set the username and password for the admin panel
$LOGIN = "Username"; //the username to access the admin panel
$PASSWORD = "Password"; //the password to access the admin panel

//finish


kann mir jemand erklären wie ich das mache mit den Tabellen bitte.. hier nochmal die links zu den Scripten
http://www.clanscripte.net/main.php?content=download&do=file&dlid=54
http://www.ligascript.net/index.php/de/


Ich hoffe mir kann jemand helfen, vielen Dank!

Re: In Datenbank eine Tablle erstellen

PostPosted: 24. August 2010 18:42
by WilliL
ich denke, dass du dich mit vorab mit den Grundlagen beschäftigen musst ;)
hier 2 Linnks, wo man vieles nachlesen kann..
http://www.php-kurs.com/mysql-anweisungen-lernen---phpmyadmin-nutzen.htm hier etwas in deutsch
http://www.w3schools.com/PHP/php_mysql_connect.asp gute Seite in englisch

Re: In Datenbank eine Tablle erstellen

PostPosted: 24. August 2010 18:54
by glitzi85
Wie WilliL schon gesagt hat, Grundlagen wären nicht schlecht. Wenn es nur zum testen ist, kann ich dir gern dabei helfen. Im Internet würde ich diese Scripte allerdings nicht einsetzen. Ich hab schon nach ner Minute in beiden Scripte Sicherheitslücken so groß wie ein Scheunentor gefunden.

mfg glitzi