grazie ho risolto. posto qui un altro quesito per nn aprire un ulteriore thread.
dopo aver risolto la connessione al db, ora con il nuovo hosting ho problemi alle sessioni
codice:
Warning: session_start() [function.session-start]: open(/tmp/sess_5i31f2blh1drp7sda9hgggspi1, O_RDWR) failed: No such file or directory (2) in /offcity/mappa/layout.php on line 2
PHP Warning: Unknown: open(/tmp/sess_5i31f2blh1drp7sda9hgggspi1, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: open(/tmp/sess_5i31f2blh1drp7sda9hgggspi1, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
VVoVe:
VVoVe:
che vuole? che significa?
ricordo che io uso la sessione così
Codice PHP:
<?php
session_start();
if(!isset($_SESSION)) $_SESSION=$HTTP_SESSION_VARS;
$nick = $_SESSION_VARS[user_id];
$user_id = $_SESSION_VARS[user_id];
if ($nick == '' OR $user_id == '') header("Location: ");
help me please