I used this in index.php3, in a password protected directory, using Xitami on Windows.
require_once("../test/require.php3"); Everything did fine. Roebie wrote: > I have tried absolute paths but that does not solve the problem. > Unlike the filename extension suggests I am using php4. > > The problem seems to be the password protection. When the three files are in > the same directory (be it protected or unprotected) everything works fine. > When index.php3 is in one directory and the other two files are in another > directory everything works fine but only if both directories are protected > or both are unprotected. > > That including a script that is in a password protected directory is not > allowed seems reasonable to me, but the other way round ...? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]