Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 12:52

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Homepage verbinden mit sql datenbank

Discussion on Homepage verbinden mit sql datenbank within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2010
Posts: 47
Received Thanks: 2
Exclamation Homepage verbinden mit sql datenbank

wie die überschrift schons agt ich habe ein problem die homepage mit der datenbank zu verbinden habe biss her nur das
Code:
<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title>Fly World 2</title>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
    <script src="javascript.js" type="text/javascript" /></script>
    <link rel="stylesheet" href="style.css" type="text/css" />
    <style type="text/css">
	.style1 {
		text-align: center;
	}
	.style2 {
	text-align: left;
}
	.style4 {
		font-size: large;
	}
	.style5 {
		margin-top: 0px;
	}
	.style6 {
		margin-left: 0px;
	}
	.style7 {
		font-size: large;
		color: #7D0C0C;
	}
.style8 {
	color: #7D0C0C;
}
	.style10 {
		text-align: center;
		color: #B9B6B6;
		font-size: x-large;
	}
	.style11 {
		color: #B9B6B6;
	}
	.style12 {
		text-align: left;
		color: #B9B6B6;
	}
	.style13 {
		color: #8D8D8D;
	}
	.style14 {
		color: #E70A0A;
	}
	.style15 {
		color: #39C0DA;
	}
	.style16 {
		text-align: left;
		color: #B9B6B6;
		font-size: x-large;
	}
	</style>
  </head>
  <body background="back.jpg">

    <div id="container">
      <div id="navi">

        <ul>

	<!-- Begin Footer -->
	<div id="footer">
		<p class="style1">
		<img alt="" class="style6" height="146" src="banner.jpg" width="1198" /></p>
		<p class="style1"><span class="style4">&nbsp;</span>&nbsp;<span class="style8">&nbsp;
		</span> <a href="../index/index.html">
		<span class="style7">Home</span></a><span class="style7">&nbsp;&nbsp;&nbsp; | 
		</span><span class="style8">&nbsp;&nbsp; 
		</span> 
		<a href="../Regi/Regi.html"><span class="style7">Registrierung</span></a><span class="style7">&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;
		</span>
		<a href="../Anmelden/Anmelden.html"><span class="style7">Anmelden</span></a><span class="style7">&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;
		</span>
		<a href="../News/News.html"><span class="style7">News</span></a><span class="style7">&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;
		</span>
		<a href="../Download/Download.html"><span class="style7">Download</span></a><span class="style7">&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;
		</span>
		<a href="http://flyworld.***********/"><span class="style7">Forum</span></a></p>
	</div>
	<!-- End Footer --></div>

      <div id="content" class="style2">
          </p>        
      </div>
    </div>

    <div id="bgLine"></div>
	<p class="style11">
		&nbsp;<input type="text" maxlength="16" size="10" name="userid" style="width: 97px; height: 16px;" class="style5"></p>
	<p class="style11">
		&nbsp;<input type="password" maxlength="16" size="10" name="userpass" style="height: 16px; width: 96px"><input type="submit" value="LOGIN" name="submit" class="style5" style="height: 23px"></p>
	<p class="style10">Willkommen auf FlyWorld</p>
	<div class="style1">
		<span class="style11">Hallo neuer User<br />
		</span><font color="red"><br />
		Bitte Votet doch auch für unseren Server<br />
		Es ist nur 1 Klick für euch und hilft uns!</font></div>
<center><br />
<a href="http://www.topliste.****************/In/4237.htm">
<img src="http://www.topliste.****************/img/vote34.png" alt="Metin2 Server Toplist" border="0" width="124" /></a><br />
<br />
<center class="style13">Fly World 2 eröffnet erneut seine Pforten und<br />
startet komplett neu durch wir hoffen auch dich<br />
begrüssen zu dürfen<br />
<br />
<br />
Spenden geht weiterhin nur übers Forum<br />
Einfach eine PN an Mich<span class="style14"> [SA]Shape</span> mit dem<br />
PSC Code und dem Loginnamen<br />
<br />
Natürlich gibt es jetzt wieder eine IS AKtion<br />
<br />
10€ = 17500 Coins + <span class="style15">5000 Extra Coins</span><br />
25€ = 40000 Coins + <span class="style15">10000 Extra Coins</span><br />
50€ = 90000 Coins +<span class="style15"> 15000 Extra Coins</span><br />
100€ = 200000 Coins + <span class="style15">30000 Extra Coins</span></center>
<br />
	</center><br />
	<file name="$languagedir/Modifications.portuguese-utf8.php" error="skip">
   <operation>
      <search position="end" />
         <add><![CDATA[
$txt['no_click'] = 'Desculpe, mas o bot&atilde;o direito esta desativado para Visitantes';
]]></add>
   </operation>
</file>
<file name="$languagedir/Modifications.brazilian-utf8.php" error="skip">
   <operation>
      <search position="end" />
         <add><![CDATA[
$txt['no_click'] = 'Desculpe, mas o bot&atilde;o direito esta desativado para Visitantes';
]]></add>
   </operation>
</file>
  </body>
</html>
GermanJonas1994 is offline  
Old 11/05/2010, 11:36   #2
 
elite*gold: 0
Join Date: Oct 2009
Posts: 995
Received Thanks: 336
Schon mal was von php gehört, das fehlt hier definitiv
2good4you111 is offline  
Old 11/05/2010, 11:43   #3
 
kimuraaa's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 1,533
Received Thanks: 810
PHP Code:
<?php
// database settings
$db_host="localhost";
$db_user="mysql_benutzername";
$db_pass="sicherespasswort";
$db_name="phpfusion_datenbank";
$db_prefix="fusion_";
define("DB_PREFIX""fusion_");
?>
Und ich denke, in Fragen PHP etc solltest du einfach mal googlen.
Da steht mehr als hier
kimuraaa is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Gameserver-Datenbank Homepage-Datenbank
09/30/2010 - Metin2 Private Server - 4 Replies
Gameserver-Datenbank SQL-Server (Gameserver) SQL-User (Gameserver) SQL-Passwort (Gameserver) SQL-Server (Homepage)



All times are GMT +1. The time now is 12:52.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.