Ho un problema con un include, questo è il codice
codice:
<?php
session_start();
session_register("sess_name");
session_register("sess_passwd");
session_register("sess_data");
include("vars.php");
include("headfoot.php");
mysql_connect($db_host, $db_user, $db_pwd);
mysql_select_db($db_name);
uheader();
if ($_SESSION['sess_name'] != "" && $_SESSION['sess_passwd'] != "") {
members_main_menu($members_menu);
}
echo("<table border=0 cellpadding=5 cellspacing=0width=100%>
<tr><td>");
include("/support/index.php");
echo("</td>");
ufooter();
mysql_close;
exit;
?>
Funziona tutto, mi mostra l'header ed il footer, ma in mezzo dove deve caricare
codice:
include("/support/index.php");
non funziona mi restituisce questo errore:
Warning: main(/support/index.php): failed to open stream: No such file or directory in /home/content/t/e/c/sito/html/contact.php on line 17
Warning: main(/support/index.php): failed to open stream: No such file or directory in /home/content/t/e/c/sito/html/contact.php on line 17
Warning: main(): Failed opening '/support/index.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/t/e/c/sito/html/contact.php on line 17
Come posso risolvere?