$user = "mygaming_corlet";
$user = "stefkee3_corlet";
$tablename = "mygaming_gangster";
$tablename = "stefkee3_gangster";
include(config2.php);
include(_include-config2.php);
$sitelink doesn't look to be involved with the database at all. It looks like it's used when referring to other resources (e.g. stylesheets and other pages). You should change it so that links don't refer to resources off-site.il have made a database at x10hosting and if i chance it in gegevens.php do i don't have to change the sitelink?
Only if you keep us up-to-date on what problem you're having and what you've done in trying to solve it.Edit:
so?, anywone els a sugestion?
Edit:
ah comon people ther must be somewone who know's this?
...PHP:include(config2.php);
PHP:include(_include-config2.php);
include('_include-config2.php');
This long sequence of queries can be replaced with just two:index.php
PHP:... mysql_query("UPDATE `[users]` SET `camera`=`camera`+'2' WHERE `ctype`='1'"); mysql_query("UPDATE `[users]` SET `shotgun`=`shotgun`+'2' WHERE `ctype`='2'"); mysql_query("UPDATE `[users]` SET `camera`=`camera`+'2' WHERE `ctype`='3'"); mysql_query("UPDATE `[users]` SET `shotgun`=`shotgun`+'2' WHERE `ctype`='4'"); ...
mysql_query("UPDATE `[users]` SET `camera`=`camera`+2 WHERE `ctype` % 2");
mysql_query("UPDATE `[users]` SET `shotgun`=`shotgun`+2 WHERE (`ctype` % 2) = 0");
if(isset($_POST['login'],$_POST['pass'])) {
$dbres = mysql_query("SELECT `login`,`activated` FROM `[users]` WHERE `login`='{$_POST['login']}' AND `pass`=MD5('{$_POST['pass']}')");
if(isset($_POST['login'],$_POST['pass'])) {
$dbres = mysql_query("SELECT `login`,`activated` FROM `[users]` WHERE `login`='" . quote_smart($_POST['login']) . "' AND `pass`=MD5('" . quote_smart($_POST['pass']) . "')");