I had some similar problems !  Here's what I did.

include $_SERVER['DOCUMENT_ROOT'] . '/includes/_myInclude.php' ;

Putting the DOCUMENT_ROOT ensured I was always pointing to the top
directory of the web pages.

Daniel Clark

>>I have a problem.  My directory list is similar to this:
>> >root
>>     >tmpl
>>     >inc
>>     >forums
>>         >test_forum
>>             >messages
>>         >test_forum1
>>             .messages
>>
>>My question is in the test_form and message forums.  How do I do the
>> include
>>files to read from the tmpl and inc??

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to