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 2021-09-14 00:57, Bo Berglund wrote:

> Running with PHP 7.0.33 I have tested with the following script located in
> .../htdocs/log and with other php files in .../htdocs/php:
>
  How are you running the script? Using "php -f"? Or from a web page? Is this on
a local host? Or at a provider's site? Is "/usr/services/vux" an alias or
symbolic link for "/data/25/2/158/91/2484743/user/2721122"?
  I have also been using $_SERVER["DOCUMENT_ROOT"] for web pages fi=or many
years. There was no problem at all with the transition from php 5.x to 7.x. I
suspect something else that is causing the change of string responses.

-- 
James Moe
jmm-list at sohnen-moe dot com
Think.



[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