$_SERVER[“SCRIPT_URI”] not working? alternative?

前端 未结 11 2544
北恋
北恋 2020-12-17 17:17

This is odd, but for some reason the $_SERVER[\"SCRIPT_URI\"] will not return the domain name when I am in child/sub-pages but will only work on the main page.

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