Re: How can I replace $_SERVER["DOCUMENT_ROOT"] in PHP 7.0?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 14 Sep 2021 11:21:00 +0100, Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx>
wrote:

>The basic steps would have been just checking what 
>$_SERVER['DOCUMENT_ROOT'] contained. That would have negated pretty much 
>all the rest of the test code, etc, that you wrote, as that's the actual 
>problem.

Do you mean to for example do some kind of dir listing based on
$_SERVER['DOCUMENT_ROOT']?

If so I have no idea how to do that...
I assume that there is a PHP command to help but I have not been using such ever
so I don't know.


-- 
Bo Berglund
Developer in Sweden



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux