Próbuję, próbuję i nie wychodzi mi to... Albo po wyjebaniu co uważam za nie potrzebne strona w ogóle się nie wczytuje, ale w ogóle się rozlatuje....
(długie trochę, więc wrzucam na wklejke, bo w temacie byłby syf.)
http://wklej.org/id/1143498/
Co ciekawe... nie wiem czemu, ale po wyjebaniu już samego tego :
Kod PHP:
if(!file_exists('config.php')) {
include('install.php');
die();
} else {
$_SESSION['step_install'] = null;
$_SESSION['data_install'] = null;
}
include("config.php");
if(empty($_SESSION["zalogowanyasax"]))$_SESSION["zalogowanyasax"]=0;
if($_SESSION['loginerex'])
{
$goddzzzy=1;
}
$baza3 = mysql_connect($host, $usersql, $haslosql);
mysql_select_db($jakabaza);
function lacz_bd1i()
{
include("config.php");
$db1i = new mysqli(str_replace(':'.$port, '', $host), $usersql, $haslosql, $jakabaza, $port);
/* check connection */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
if (! $db1i){
return false;
$db1i->autocommit(TRUE);
}
return $db1i;
}
a dokładniej, po wyjebaniu tej funkcji strona się sypie...
Zakładki