ID:               22167
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: Windows
 PHP Version:      4.3.0
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

There's only one change..and it's how the paths work.
The syntax is not changed.

And there is already bug report about the path issue.



Previous Comments:
------------------------------------------------------------------------

[2003-02-11 07:54:15] [EMAIL PROTECTED]

What won't work is:
require ("/mypath/thisfile.php");
require ($mypath."thisfile.php");

what work is:
require '/mypath/thisfile.php';

------------------------------------------------------------------------

[2003-02-11 07:41:08] [EMAIL PROTECTED]

This really hasn't changed...WHAT works and what doesn't?


------------------------------------------------------------------------

[2003-02-11 07:40:31] [EMAIL PROTECTED]

sorry last 2 lines should be:
$classpath = "./mypath/";
require($classpath."thisfile.php");

------------------------------------------------------------------------

[2003-02-11 07:37:29] [EMAIL PROTECTED]

require/include/require_once/include_once would only in the way
require './mypath/thisfile.php'
and no more as written in the documentation
require ("./mypath/thisfile.php") this will cause in a error:
failed to create stream...
it also won't work the way require
$classpath = "./mypath/";
($classpath."thisfile.php");

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22167&edit=1

Reply via email to