Io includo dei file così:
Codice PHP:
include("/php/funzioni.php");
include("/php/config.php");
I file esitono, ma non riesce a caricarli.
Codice:
Warning: include(/php/funzioni.php): failed to open stream: No such file or directory in C:\xampp\htdocs\file\tampertools\php\registra.php on line 2
Warning: include(): Failed opening '/php/funzioni.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\file\tampertools\php\registra.php on line 2
Warning: include(/php/config.php): failed to open stream: No such file or directory in C:\xampp\htdocs\file\tampertools\php\registra.php on line 3
Warning: include(): Failed opening '/php/config.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\file\tampertools\php\registra.php on line 3
Il problema potrebbe essere che uso un percorso assoluto?