salve a tutti, ho un'applicazione che ha questo frammento php:
<?php
$lang = "IT";
echo "ROOT = ".$_SERVER['DOCUMENT_ROOT'];
include_path='.;c:\php4\pear'
require($_SERVER['DOCUMENT_ROOT'] . "\zoomarine\cms\config\config.inc.php");
require($_SERVER['DOCUMENT_ROOT'] . "\cms\lib\News.class.php");
$news = new News($db);
$ls = $news->listNews($lang);
echo "Ciao";
$first = array_pop($ls);
/*echo "<script language=\"javascript\">window.open('/popup/news_it.php','news','width=350,height=180,scrollba rs=yes');</script>";
echo "<script language=\"javascript\">window.open('/popup/open.php','open','width=580,height=320,left=20,top =100,scrollbars=auto');</script>";*/
echo "<script language='javascript'>window.open('popup/open2007.php','apertura','width=700,height=500,lef t=150,top=120,scrollbars=auto');</script>";
$_SESSION['news'] = 1;
?>
a seguito di cio c'è solo dell'HTML, soloo che quando faccio partire in locale l'applicazione mi compare questo errore:
Warning: main(c:\\inetpub\\wwwroot\zoomarine\cms\config\con fig.inc.php): failed to open stream: No such file or directory in C:\Inetpub\wwwroot\zoomarine\public_html\index.php on line 70
Fatal error: main(): Failed opening required 'c:\\inetpub\\wwwroot\zoomarine\cms\config\config. inc.php' (include_path='.;c:\php4\pear') in C:\Inetpub\wwwroot\zoomarine\public_html\index.php on line 70
come posso risolverlo????? non riesco proprio a capireVVoVe:
:rollo:
![]()
Grazie a tutti per ogni intervento,![]()
![]()