note 15871 added to function.require
| From: | emptyvoid at yahoo dot com | Date: | Sat, 06 Oct 2001 04:41:27 +0000 |
| Subject: | note 15871 added to function.require | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18627@lists.php.net to get a copy of this message | ||
For the record!
$DOCUMENT_ROOT
Does not work on Windows (any version) using the CGI php.exe build of PHP. It does not exist nor can
it be referenced.
Also the include function sucks in relation to directory structure within the wwwroot or in any file
structure. Especially if you are trying to program cross platform, cross web-server code.
So bewared.. successfuly including multiple files at several levels deep will require an act of god
in this language.. ASP, CFML, Perl, Tcl.. can do it.. perhaps once this problem is normalized and
can be reliable across the different environments it runs on.. Then, maybe you can expect the
function to do what it says.
(one frustrated programmer).. can't program a simple application architecture.. because of
unreliable programming architecture.
--
http://www.php.net/manual/en/function.require.php
http://master.php.net/manage/user-notes.php?action=edit+15871
http://master.php.net/manage/user-notes.php?action=delete+15871
http://master.php.net/manage/user-notes.php?action=reject+15871