Hello!
I just formated the computer installed win2k, apache, mysql and php 4.3.1. I have done this many times before and getting pretty used to it but now i got a problem that i can't figure out.
Php wont include files. If it's only text in the file without the <?php it's no problem. I get this error message:
Warning: main(/lib/dbtemplate.inc.php) [function.main]: failed to create stream: No such file or directory in g:\program\programmering\apache\htdocs\calendarcreationfiles\createdb_last.php on line 3
Warning: main() [function.main]: Failed opening '/lib/dbtemplate.inc.php' for inclusion (include_path='.;c:\php4\pear') in g:\program\programmering\apache\htdocs\calendarcreationfiles\createdb_last.php on line 3
I never had this problem with preview versions of php, and i don't want to specify include path becouse i will probobly but my work on a shared server.
I have also tried with full path but it wont work:
include $_SERVER['DOCUMENT_ROOT']."/calendarcreationfiles/lib/dbtemplate.inc.php";
Any ideas or suggestions? All the help i can get is deeply appreciated.
/Kris