No ma se rimetto xampp 1.7.1 che consigli mi date?Prima provi e poi ci fai sapere, problema risolto?
No ma se rimetto xampp 1.7.1 che consigli mi date?
--------------- AGGIUNTA AL POST --------------- @Lore. @Ayoub96 molti mi hanno detto che è compatibile con IIS però il problema è che su Windows Xp si deve inserire il cd originale però io non c'è l'ho come faccio ?
--------------- AGGIUNTA AL POST --------------- @Lore. @Ayoub96 rispondetemi ! Perfavore manca solo questo per aprire il retro ;)
ecco config.php<?php
function filter($var) {
return mysql_real_escape_string(stripslashes(htmlspecialchars($var)));
}
function number($num)
{
return preg_replace("/(?<=\d)(?=(\d{3})+(?!\d))/",",",$num);
}
function permalink($str) {
setlocale(LC_ALL, 'en_US.UTF8');
$plink = iconv('UTF-8', 'ASCII//TRANSLIT', $str);
$plink = preg_replace("/[^a-zA-Z0-9\/_| -]/", '', $plink);
$plink = strtolower(trim($plink, '-'));
$plink = preg_replace("/[\/_| -]+/", '-', $plink);
return $plink;
}
function nicetime($date)
{
if(empty($date)) {
return "No date provided";
}
$periods = array("second", "minute", "hour", "day", "week", "month", "year", "decade");
$lengths = array("60","60","24","7","4.35","12","10");
$now = time()-10800;
$unix_date = strtotime($date);
if(empty($unix_date)) {
return "Bad date";
}
if($now > $unix_date) {
$difference = $now - $unix_date;
$tense = "ago";
} else {
$difference = $unix_date - $now;
$tense = "from now";
}
for($j = 0; $difference >= $lengths[$j] && $j < count($lengths)-1; $j++) {
$difference /= $lengths[$j];
}
$difference = round($difference);
if($difference != 1) {
$periods[$j].= "s";
}
return "$difference $periods[$j] {$tense}";
}
if(!defined('IN_INDEX')) { header("Location: ".$_CONFIG['hotel']['url']."/?p=404"); }
if(isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; }
error_reporting(E_ALL ^ E_NOTICE);
define('A', 'Includes/');
define('B', 'Script/');
define('C', 'Config/');
define('D', 'Class/');
use HabJoy as Joy;
require_once A . B . 'interface.core.php';
require_once A . B . 'interface.engine.php';
require_once A . B . 'interface.html.php';
require_once A . B . 'interface.form.php';
require_once A . B . 'interface.users.php';
require_once A . B . 'interface.template.php';
require_once A . D . 'class.core.php';
require_once A . D . 'class.engine.php';
require_once A . D . 'class.html.php';
require_once A . D . 'class.form.php';
require_once A . D . 'class.users.php';
require_once A . D . 'class.template.php';
require_once A . D . 'class.config.php';
$core = new Joy\core();
$engine = new Joy\engine();
$users = new Joy\users();
$template = new Joy\template();
$template->form = new Joy\forms();
$template->html = new Joy\html();
session_start();
$engine->Initiate();
$template->Initiate();
?>
Rispondetemi entro oggi è urgente grazie ;)<?php
if(!defined('IN_INDEX')) { die('Access Denied.'); }
$_CONFIG['hotel']['url'] = '25.193.193.65';
$_CONFIG['hotel']['name'] = 'HotelName';
$_CONFIG['hotel']['desc'] = 'Number #1 Hotel';
$_CONFIG['hotel']['motto'] = '' . $_CONFIG['hotel']['name'] . ' Newbie at %hotel_name%';
$_CONFIG['hotel']['credits'] = 10000;
$_CONFIG['hotel']['pixels'] = 3000;
$_CONFIG['hotel']['theme'] = "cms_blue";
$_CONFIG['currency']['name'] = 'Leafs';
$_CONFIG['currency']['value'] = '0';
$_CONFIG['mysql']['connection_type'] = 'pconnect';
$_CONFIG['mysql']['hostname'] = 'localhost';
$_CONFIG['mysql']['username'] = 'root';
$_CONFIG['mysql']['password'] = 'nascosto';
$_CONFIG['mysql']['database'] = 'nascosto';
$_CONFIG['hotel']['th_enabled'] = false;
$_CONFIG['hotel']['th_username'] = '';
if($_CONFIG['hotel']['th_enabled'] == true)
{
$_CONFIG['hotel']['client_url'] = 'http://votingapi.com/vote.php?username='.$_CONFIG['hotel']['th_username'].'&api=http:!!%www%/client';
}
else
{
$_CONFIG['hotel']['client_url'] = $_CONFIG['hotel']['url'].'nascosto/client';
}
$_CONFIG['hotel']['external_vars'] = 'vars.txt';
$_CONFIG['hotel']['external_texts'] = 'texts.txt';
$_CONFIG['hotel']['product_data'] = 'productdata.txt';
$_CONFIG['hotel']['furni_data'] = 'furnidata.txt';
$_CONFIG['hotel']['swf_folder'] = '%www%/Files/swf';
?>
Noi e terze parti selezionate utilizziamo cookie o tecnologie simili per finalità tecniche e, con il tuo consenso, anche per altre finalità come specificato nella cookie policy. Usa il pulsante “Accetta” per acconsentire l'utilizzo di tutti i cookies. In alternativa puoi fare clic sul pulsante “Continua senza accettare” per negare il consenso o su "Gestisci le tue preferenze" per accedere a informazioni più dettagliate e modificare le tue preferenze prima di acconsentire.