In Datenbank eine Tablle erstellen

Und alles was mit phpMyAdmin seine Verwandtschaft findet hat hier seinen Platz.

In Datenbank eine Tablle erstellen

Postby zukii » 24. August 2010 16:05

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!
zukii
 
Posts: 1
Joined: 24. August 2010 15:58

Re: In Datenbank eine Tablle erstellen

Postby WilliL » 24. August 2010 18:42

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
Willi
WilliL
 
Posts: 660
Joined: 08. January 2010 10:54
Operating System: Win7Home Prem 64 SP1

Re: In Datenbank eine Tablle erstellen

Postby glitzi85 » 24. August 2010 18:54

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
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim


Return to phpMyAdmin

Who is online

Users browsing this forum: No registered users and 9 guests