note 15871 deleted from function.require by jimw

From: Date: Tue, 18 Dec 2001 23:02:48 +0000
Subject: note 15871 deleted from function.require by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23296@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.

« previous php.notes (#23296) next »