Re[2]: [PHP] HELP: Nested include(...)'s take relative paths not intuitively
| From: | Richard Davey | Date: | Wed, 11 Feb 2004 00:06:03 +0000 |
| Subject: | Re[2]: [PHP] HELP: Nested include(...)'s take relative paths not intuitively | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177328@lists.php.net to get a copy of this message | ||
Hello John,
Tuesday, February 10, 2004, 8:20:50 PM, you wrote:
JWH> include($_CONF['path'] . '/test.php');
This is slightly off-topic, but related to the include() function.
What is the given "standard" regarding when you should or shouldn't
use braces on a function.
For example:
include "$dir/file.php"
vs.
include("$dir/file.php")
Both work just fine. The manual includes examples of both methods. So
which do most people consider "the right way" ?
--
Best regards,
Richard mailto:rich@launchcode.co.uk