Not Found
The requested URL /flyff was not found on this server.
Apache/2.2.8 (Win32) PHP/5.2.6 Server at 5.81.217.17 Port 80
KP was ich falsch mache ich habe das index überschrieben und öö das eingefügt:
<?php
// By PeChU!!
if(stristr($_SERVER['PHP_SELF'], "config.php")) die('asdada');
$host = "localhost"; // host mysql
$user = "root"; // mysql username
$pass = "1234"; // mysql password
$db = "flyff"; // mysql db
mysql_connect($host,$user,$pass) or die(mysql_error());
mysql_select_db($db) or die(mysql_error());
function nw($N, $C){
$reg = mysql_query("INSERT INTO accounts (username, password, accesslevel) VALUES( '$N', '$C', '100')")or die(mysql_error());
return $reg;
}
function exit($user){
$check = mysql_query("SELECT * FROM accounts WHERE username = '$user'");
$check2 = mysql_num_rows($check);
return $check2;
}
?>
is das was falsch ^^?
The requested URL /flyff was not found on this server.
Apache/2.2.8 (Win32) PHP/5.2.6 Server at 5.81.217.17 Port 80
KP was ich falsch mache ich habe das index überschrieben und öö das eingefügt:
<?php
// By PeChU!!
if(stristr($_SERVER['PHP_SELF'], "config.php")) die('asdada');
$host = "localhost"; // host mysql
$user = "root"; // mysql username
$pass = "1234"; // mysql password
$db = "flyff"; // mysql db
mysql_connect($host,$user,$pass) or die(mysql_error());
mysql_select_db($db) or die(mysql_error());
function nw($N, $C){
$reg = mysql_query("INSERT INTO accounts (username, password, accesslevel) VALUES( '$N', '$C', '100')")or die(mysql_error());
return $reg;
}
function exit($user){
$check = mysql_query("SELECT * FROM accounts WHERE username = '$user'");
$check2 = mysql_num_rows($check);
return $check2;
}
?>
is das was falsch ^^?