Re: [PHP-WIN] windows path problem: failed to open stream: No such file or directory

2006-12-18 Thread Armando
It sounds like a traversal issue. Have you tried specifying an absolute path like this: require_once "C:\\Program Files\\xampp-php\\xampp\\htdocs\\inside\\classes\\folder1\\ThisClass.php"; To see if it works? The double slashes are not in error.. I have some sites under Apache on Windows tha

Re: [PHP-WIN] windows path problem: failed to open stream: No such file or directory

2006-12-18 Thread John Harris
On 16 Dec 2006 at 21:53, Nii Amon Dsane wrote: > require_once "../folder2/SomeClass.php"; > > I get this error: > > *Warning*: main(../folder2/SomeClass.php): failed to open stream: No such > file or directory in *C:\Program > Files\xampp-php\xampp\htdocs\inside\classes\folder1\ThisClass.php* on

Re: [PHP-WIN] windows path problem: failed to open stream: No such file or directory

2006-12-18 Thread trystano
Can you locate the included file via absolute path? I.E. "/folder2/someclass.php" Tryst -Original Message- From: [EMAIL PROTECTED] To: php-windows@lists.php.net Sent: Sat, 16 Dec 2006 9.53PM Subject: [PHP-WIN] windows path problem: failed to open stream: No such file or dir