Register for your free account! | Forgot your password?

You last visited: Today at 16:54

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

Advertisement



Script hilfe :D

Discussion on Script hilfe :D within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2011
Posts: 177
Received Thanks: 22
Exclamation Script hilfe :D

So habe den fehler:

Parse error: syntax error, unexpected '.58' (T_DNUMBER) in C:\xampp\htdocs\test\index.php on line 15



das ist zeile 1 bis 23

Quote:
?PHP

if(!file_exists('./inc/config.inc.php'))
{
header('Location: install.php');
}

session_name("m2hp");
session_start();

require("./inc/config.inc.php");
require("./inc/rights.inc.php");
require("./inc/functions.inc.php");

$sqlHp = mysql_connect(5.204.58.100, root, fuckthisshit);
$sqlServ = mysql_connect(5.204.58.100, root, fuckthisshit);

if(!is_resource($sqlServ) OR !is_resource($sqlHp)) {
exit("Verbindung zur Datenbank fehlgeschlagen: Abbruch");
}
require("./inc/head.inc.php");
echo '<?xml version="1.0"?>';
?>
gta199819981998 is offline  
Old 10/30/2012, 23:05   #2



 
ライト's Avatar
 
elite*gold: 1100
The Black Market: 238/0/0
Join Date: Oct 2012
Posts: 4,972
Received Thanks: 774
Versuch es mal so:

PHP Code:
<?PHP
error_reporting
(0);
if(!
file_exists('./inc/config.inc.php'))
{
header('Location: install.php');
}

session_name("m2hp");
session_start();

require(
"./inc/config.inc.php");
require(
"./inc/rights.inc.php");
require(
"./inc/functions.inc.php");

$sqlHp mysql_connect(SQL_HP_HOSTSQL_HP_USERSQL_HP_PASS);
$sqlServ mysql_connect(SQL_HOSTSQL_USERSQL_PASS);

if(!
is_resource($sqlServ) OR !is_resource($sqlHp)) {
exit(
"Verbindung zur Datenbank fehlgeschlagen: Abbruch");
}
require(
"./inc/head.inc.php");
echo 
'<?xml version="1.0"?>';
?>
Das Problem war, das du den Teil:

PHP Code:
  $sqlHp mysql_connect(SQL_HP_HOSTSQL_HP_USERSQL_HP_PASS);
  
$sqlServ mysql_connect(SQL_HOSTSQL_USERSQL_PASS); 
gelöscht hast, die mysql daten musst du in den ordner /inc/config.inc.php bearbeiten.

MfG Cersem'
ライト is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[HILFE] Brauche Hilfe bei PHP Script für FACEBOOK APP
01/16/2012 - General Coding - 0 Replies
Gehört in eine andere Sektion -
LUA script hilfe
03/28/2011 - WoW Private Server - 0 Replies
Hey hab eine frage an euch und hoffe ihr könnt sie beantworten :D:handsdown::handsdown: ja und zwar gibt es ein LUA script/oder kennt jemand eins das wenn man ein bestimmter GM rank ist das man dann bestimmte items(also was andere net können) anziehen kann und ein höheres level als die anderen leveln kann? Hoffe ihr könnt mir helfen und wäre euch sooooo dankbar +thanks! also biitttte helft mir mfg mike11995
WoW Lua Script Hilfe
11/20/2010 - World of Warcraft - 3 Replies
Hallo ich habe da mal ne frage und zwar habe ich ein teleporter Npc Und den will ich nun eine funktion hinzufügen das er wen der Spieler dadrauf klickt MaxWeapon skill griegt Es sieht im mom so aus das er nichts macht^^ auser porten und er soll dan den spieler mittels Gm Comando : .char advanceallskills 99999 die waffenfertikeiten auf max setzen blos das macht er nicht^^ (man ist der Faul) Joke^^ davor hatte ich noch das drin
PHP Script Hilfe
06/16/2010 - Web Development - 1 Replies
Hi, weiß wer was ich falsch mache? <html> <head> <title>Geschenk</title> </head> <body> <form> <textarea name=Putin rows=1 cols=20></textarea> <p>



All times are GMT +1. The time now is 16:56.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.