Problema risolto EMULATORE PHONEIX 3.0

francescoxz

Utente Normale
Autore del topic
23 Agosto 2015
84
29
Miglior risposta
0
Ciao raga so di essere un pozzo di problemi ma non riesco a risolvere un problema all'emulatore
questo:
Perfavore, Entra oppure Registrati per vedere i Link!


ho settato tutto bene ne sono sicuro poi se volete certezze vi metto tutto quello che vi serve
scusate per il disturbo e grazie in anticipo :emoji_slight_smile:
 
Non disturbi nessuno, a questo serve questa sezione.
Comunque postami il file di configurazione emulatore e il client.php
 
<?php

define("CMS", TRUE);

session_start();

$sqlhostname = "localhost";
$sqlusername = "root";
$sqlpassword = "123"; //la tua password di localhost
$sqldb = "justix"; // il tuo database
$path = "
Perfavore, Entra oppure Registrati per vedere i Link!
"; //il tuo link preceduto da http:// e seguito da una /

mysql_connect("$sqlhostname", "$sqlusername", "$sqlpassword")or die("<br><font size='2' face='Tahoma'><b>Errore del CMS:</b><br><em>Non Riesco a connettermi al databse MySQL!</em></font>");
mysql_select_db("$sqldb")or die("<br><font size='2' face='Tahoma'><b>Non connesso al Database MySQL!</font>");

function HoloText($str, $advanced=false, $bbcode=false) {
if($advanced == true){ return stripslashes($str); }
$str = stripslashes(nl2br(htmlspecialchars($str)));
if($bbcode == true){$str = bbcode_format($str); }
return $str;
}

$H = date('H');
$i = date('i');
$s = date('s');
$m = date('m');
$d = date('d');
$Y = date('Y');
$j = date('j');
$n = date('n');
$today = $d;
$month = $m;
$year = $Y;
$date_normal = date('d-m-Y',mktime($m,$d,$Y));
$date_full = date('d-m-Y H:i:s',mktime($H,$i,$s,$m,$d,$Y));
$date_time = date('H:i:s', mktime($H,$i,$s));

$name = $_SESSION['username'];
$sql = mysql_query("SELECT * FROM users WHERE username = '".$name."' ");
$myrow = mysql_fetch_assoc($sql);
$my_id = $myrow['id'];

$remote_ip = $_SERVER[REMOTE_ADDR];
$sysadmin = "1";
$sql = mysql_query("SELECT * FROM cms_system LIMIT 1");
$site = mysql_fetch_assoc($sql);
$trade = $site['trade'];
if($site['site_closed'] == '1' && $myrow['rank'] < 6 && empty($manu)){ header("location: ".$path."manutenzione.php"); }
$sitename = $site['sitename'];
$shortname = $site['shortname'];
$s1ql = mysql_query("SELECT * FROM server_status LIMIT 1");
$r1ow = mysql_fetch_assoc($s1ql);
$online_count = $r1ow['users_online'];

if(empty($allow_guests)){ $allow_guests = "false"; }
if(!session_is_registered(username) && $allow_guests == "false"){header("location: ".$path."index.php?redirect=".$_SERVER[REQUEST_URI].""); }

function HoloHash($password){
$string = sha1($password . "xCg532%@%gdvf^5DGaa6&*rFTfg^FD4\$OIFThrR_gh(ugf*/");
return $string;
}

function GenerateTicket(){
$data = "us-";
for ($i=1; $i<=6; $i++){
$data = $data . rand(0,9);
}
$data = $data . "-";
for ($i=1; $i<=20; $i++){
$data = $data . rand(0,9);
}
$data = $data . "-time-stop-client";
$data = $data . rand(0,5);
return $data;
}

function decode($text){
$str = str_replace(array('à','è','ì','ò','ù','é'), array('&agrave','&egrave','&igrave','&ograve','&ugrave','&eacute'), $text);
return $str;
}

if(empty($admin)){ $admin = "false"; }
if($admin == "true" && $myrow['rank'] < 7){ header("location: ../index"); }

if(!session_is_registered(username)){ $name = "Visitatore"; }

$pban = mysql_query("SELECT * FROM bans WHERE value = '".$name."' ");
if(mysql_num_rows($pban) > 0){
$ban = mysql_fetch_assoc($pban);
session_destroy();
header("location: index?banned=true&banid=".$ban['id']." ");
}
?>
 
<?php

define("CMS", TRUE);

session_start();

$sqlhostname = "localhost";
$sqlusername = "root";
$sqlpassword = "123"; //la tua password di localhost
$sqldb = "justix"; // il tuo database
$path = "
Perfavore, Entra oppure Registrati per vedere i Link!
"; //il tuo link preceduto da http:// e seguito da una /

mysql_connect("$sqlhostname", "$sqlusername", "$sqlpassword")or die("<br><font size='2' face='Tahoma'><b>Errore del CMS:</b><br><em>Non Riesco a connettermi al databse MySQL!</em></font>");
mysql_select_db("$sqldb")or die("<br><font size='2' face='Tahoma'><b>Non connesso al Database MySQL!</font>");

function HoloText($str, $advanced=false, $bbcode=false) {
if($advanced == true){ return stripslashes($str); }
$str = stripslashes(nl2br(htmlspecialchars($str)));
if($bbcode == true){$str = bbcode_format($str); }
return $str;
}

$H = date('H');
$i = date('i');
$s = date('s');
$m = date('m');
$d = date('d');
$Y = date('Y');
$j = date('j');
$n = date('n');
$today = $d;
$month = $m;
$year = $Y;
$date_normal = date('d-m-Y',mktime($m,$d,$Y));
$date_full = date('d-m-Y H:i:s',mktime($H,$i,$s,$m,$d,$Y));
$date_time = date('H:i:s', mktime($H,$i,$s));

$name = $_SESSION['username'];
$sql = mysql_query("SELECT * FROM users WHERE username = '".$name."' ");
$myrow = mysql_fetch_assoc($sql);
$my_id = $myrow['id'];

$remote_ip = $_SERVER[REMOTE_ADDR];
$sysadmin = "1";
$sql = mysql_query("SELECT * FROM cms_system LIMIT 1");
$site = mysql_fetch_assoc($sql);
$trade = $site['trade'];
if($site['site_closed'] == '1' && $myrow['rank'] < 6 && empty($manu)){ header("location: ".$path."manutenzione.php"); }
$sitename = $site['sitename'];
$shortname = $site['shortname'];
$s1ql = mysql_query("SELECT * FROM server_status LIMIT 1");
$r1ow = mysql_fetch_assoc($s1ql);
$online_count = $r1ow['users_online'];

if(empty($allow_guests)){ $allow_guests = "false"; }
if(!session_is_registered(username) && $allow_guests == "false"){header("location: ".$path."index.php?redirect=".$_SERVER[REQUEST_URI].""); }

function HoloHash($password){
$string = sha1($password . "xCg532%@%gdvf^5DGaa6&*rFTfg^FD4\$OIFThrR_gh(ugf*/");
return $string;
}

function GenerateTicket(){
$data = "us-";
for ($i=1; $i<=6; $i++){
$data = $data . rand(0,9);
}
$data = $data . "-";
for ($i=1; $i<=20; $i++){
$data = $data . rand(0,9);
}
$data = $data . "-time-stop-client";
$data = $data . rand(0,5);
return $data;
}

function decode($text){
$str = str_replace(array('à','è','ì','ò','ù','é'), array('&agrave','&egrave','&igrave','&ograve','&ugrave','&eacute'), $text);
return $str;
}

if(empty($admin)){ $admin = "false"; }
if($admin == "true" && $myrow['rank'] < 7){ header("location: ../index"); }

if(!session_is_registered(username)){ $name = "Visitatore"; }

$pban = mysql_query("SELECT * FROM bans WHERE value = '".$name."' ");
if(mysql_num_rows($pban) > 0){
$ban = mysql_fetch_assoc($pban);
session_destroy();
header("location: index?banned=true&banid=".$ban['id']." ");
}
?>
La prossima volta usa li appositi tag [PH P].
Comunque nel core al posto di 127.0.0.1 metti localhost, cancella cache e cookie ed entra da :
Perfavore, Entra oppure Registrati per vedere i Link!
 
si uso black sky databse lo riuppato 2 volte e si lo faceva pure prima ma ieri stranamente non l ho ha fatto
 
ho risolto
si vede ma come faccio se voglio mettere in locale ? oppure un dominio non succedera pero in tal caso
 
In tal caso devi sbloccare le porte del modem, segui alcune guide sul forum.
Lascia pure così puoi accedere solamente tu tanto all'Hotel perchè il link è sempre in locale

Segnalo come risolto :emoji_slight_smile: