Do these exist in the same directory?
A few things to check:
1st, file permissions, PHP needs at least read permission to be able to get the file.
See this article for setting permissions in Unix / OSX
http://p2p.wrox.com/topic.asp?TOPIC_ID=11962
2nd, the include_path directive in php.ini. This is where PHP will look for files, by default it just looks in the absolute/relative path you tell it to, this simplifies things a bit by not requiring an absolute path for every include in the directories specified by this directive.
Code:
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
Regards,
Rich
::::::::::::::::::::::::::::::::::::::::::
The Spicy Peanut Project
http://www.spicypeanut.net
::::::::::::::::::::::::::::::::::::::::::