"dont put relative paths inside your include files."
that's what I said, you nonce.
"Read my original post would ya."
which one, you only replied once. and it said:
"Try using relative paths i.e. include ("../includes/soming.class.php");"
wich is a bad idea.
"Also, make sure that you have a directory named tmp in the root of your boot drive (i.e. C:\tmp for win) as this is the default temp directory specified in php.ini and you will more than likely generate an error when trying to include files if you don't have that dir"
That is new to me. How does the lack of a tmp dir influence an include command?
"This method has several advantages such as not having to redo hard coded links if you move or add a page and you can make a directory secure and store the includes within that so no body can get to em."
Relative paths are the first to cause problems when things change.
It is much better to define the locations of the files in constants at the top of the script or use an include file whose location does not change.