addsywadsy Posted April 8, 2007 Share Posted April 8, 2007 Ive got some coursework with php and want to include many files but does not work, the files are stored in the same directory but comes up with this error: Warning: include(resources/layout.php) [function.include]: failed to open stream: No such file or directory in C:\WINDOWS\xampp\htdocs\css\New Folder\main.php on line 2 Warning: include() [function.include]: Failed opening 'resources/layout.php' for inclusion (include_path='.;C:\WINDOWS\xampp\php\pear\') in C:\WINDOWS\xampp\htdocs\css\New Folder\main.php on line 2 Fatal error: Call to undefined function pagetop() in C:\WINDOWS\xampp\htdocs\css\New Folder\main.php on line 4 Any ideas would be very helpful thanks Link to comment https://forums.phpfreaks.com/topic/46176-php-include-wont-work-any-ideas/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.