Welcome Guest, Not a member yet? Register   Sign In
index.php - Defined Constants not Absolute [with fix]
#6

[eluser]Derek Jones[/eluser]
I really don't want to step into the conversation too much, as this boils down primarily to a problem you're having with the wording of a code comment. The point of that variable isn't to always and without reservation be a full server path, but to try to be a reliable means of gaining script access to the folder. It seems like a very modest demand of a developer's ability to provide a good path to the system folder. You seem pretty upset about this, though, but without explanation. Mind if I ask what problems the distributed code has given you that makes you "keep coming back to it"?

And incidentally, as you develop applications with a broad distribution and targeted for all sorts of shared hosting environments, you'll find that things that you would expect to be available based on PHP's documentation cannot be counted on, and that includes having access to functions like realpath(), which certain hosts have been known to disable, along with other functions that expose information about the server to the script.


Messages In This Thread
index.php - Defined Constants not Absolute [with fix] - by El Forum - 07-18-2008, 05:35 PM
index.php - Defined Constants not Absolute [with fix] - by El Forum - 07-18-2008, 07:16 PM
index.php - Defined Constants not Absolute [with fix] - by El Forum - 07-18-2008, 09:04 PM
index.php - Defined Constants not Absolute [with fix] - by El Forum - 07-19-2008, 06:50 AM
index.php - Defined Constants not Absolute [with fix] - by El Forum - 07-19-2008, 07:15 AM
index.php - Defined Constants not Absolute [with fix] - by El Forum - 07-19-2008, 09:48 AM
index.php - Defined Constants not Absolute [with fix] - by El Forum - 07-19-2008, 10:55 AM
index.php - Defined Constants not Absolute [with fix] - by El Forum - 07-19-2008, 12:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB