How to get root dir on PHP

前端 未结 4 582
醉话见心
醉话见心 2021-02-13 01:11

I use realpath(\'../\'), it work fine but the result is D:wampwww ( real path is D://wamp/www ). Anybody can tell me how to get realpath by the right way? Thanks you verry much.

4条回答
提交回复
热议问题